mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-22 02:32:23 +00:00
fix: device PMU shutdown (part 2) (#3596)
* fix: device PMU shutdown (part 2) * fix error + enable nimble deinit
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user