Skip to content

Commit a8c8fd7

Browse files
committed
Remove redundant power interrupt methods for ESP32
1 parent e7c02da commit a8c8fd7

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

src/power.h

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -102,14 +102,6 @@ class Power : public concurrency::OSThread
102102
const uint16_t OCV[11] = {OCV_ARRAY};
103103
bool isLowBattery() { return low_voltage_counter >= 10; };
104104

105-
#ifdef ARCH_ESP32
106-
int beforeLightSleep(void *unused);
107-
int afterLightSleep(esp_sleep_wakeup_cause_t cause);
108-
#endif
109-
110-
void attachPowerInterrupts();
111-
void detachPowerInterrupts();
112-
113105
#ifdef ARCH_ESP32
114106
int beforeLightSleep(void *unused);
115107
int afterLightSleep(esp_sleep_wakeup_cause_t cause);

0 commit comments

Comments
 (0)