mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-16 07:42:37 +00:00
(ESP32) Fix bluetooth after light-sleep; de-init for deep sleep (#3655)
This commit is contained in:
@@ -207,8 +207,8 @@ void doDeepSleep(uint32_t msecToWake, bool skipPreflight = false)
|
||||
// esp_wifi_stop();
|
||||
waitEnterSleep(skipPreflight);
|
||||
|
||||
#ifdef NIMBLE_DEINIT_FOR_DEEPSLEEP
|
||||
// Extra power saving on some devices
|
||||
#ifdef ARCH_ESP32
|
||||
// Full shutdown of bluetooth hardware
|
||||
nimbleBluetooth->deinit();
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user