mirror of
https://github.com/meshtastic/firmware.git
synced 2025-07-30 02:15:41 +00:00
remvoe stateNB declaration
This commit is contained in:
parent
91d25d2b45
commit
0f74118ef4
@ -56,7 +56,7 @@ void PowerFSM_setup();
|
||||
#else
|
||||
#include <Fsm.h>
|
||||
extern Fsm powerFSM;
|
||||
extern State stateON, statePOWER, stateSERIAL, stateDARK, stateNB, stateLS;
|
||||
extern State stateON, statePOWER, stateSERIAL, stateDARK, stateLS;
|
||||
|
||||
void PowerFSM_setup();
|
||||
#endif
|
||||
|
@ -427,6 +427,7 @@ void doLightSleep(uint32_t sleepMsec)
|
||||
#ifdef HAS_ESP32_DYNAMIC_LIGHT_SLEEP
|
||||
res = esp_pm_lock_release(pmLightSleepLock);
|
||||
assert(res == ESP_OK);
|
||||
|
||||
pmLightSleepLockAcquired = false;
|
||||
#endif
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user