fix: device PMU shutdown (part 2) (#3596)

* fix: device PMU shutdown (part 2)

* fix error + enable nimble deinit
This commit is contained in:
Manuel
2024-04-12 02:39:07 +02:00
committed by GitHub
parent a4a8556aa2
commit 927d07e2c6
3 changed files with 26 additions and 24 deletions

View File

@@ -113,8 +113,8 @@ void NimbleBluetooth::shutdown()
pAdvertising->reset();
pAdvertising->stop();
#if defined(HELTEC_WIRELESS_PAPER) || defined(HELTEC_WIRELESS_PAPER_V1_0)
// Saving of ~1mA
#if defined(ARCH_ESP32)
// Saving of ~1mA for esp32-s3 and 0.1mA for esp32
// Probably applicable to other ESP32 boards - unverified
NimBLEDevice::deinit();
#endif