Updates for esp32s2 build

This commit is contained in:
David Ellefsen
2024-04-22 10:47:11 +02:00
parent ac6a668362
commit 30d4c3a945
3 changed files with 7 additions and 4 deletions

View File

@@ -211,7 +211,7 @@ void doDeepSleep(uint32_t msecToWake, bool skipPreflight = false)
// esp_wifi_stop();
waitEnterSleep(skipPreflight);
#ifdef ARCH_ESP32
#if defined(ARCH_ESP32) && !MESHTASTIC_EXCLUDE_BLUETOOTH
// Full shutdown of bluetooth hardware
if (nimbleBluetooth)
nimbleBluetooth->deinit();