diff --git a/examples/companion_radio/MyMesh.h b/examples/companion_radio/MyMesh.h index 0fa34e8..e4cb0a2 100644 --- a/examples/companion_radio/MyMesh.h +++ b/examples/companion_radio/MyMesh.h @@ -12,7 +12,7 @@ #endif #ifndef FIRMWARE_VERSION -#define FIRMWARE_VERSION "Meck v0.3.1" +#define FIRMWARE_VERSION "Meck v0.4" #endif #if defined(NRF52_PLATFORM) || defined(STM32_PLATFORM) diff --git a/variants/lilygo_tdeck_pro/TDeckBoard.h b/variants/lilygo_tdeck_pro/TDeckBoard.h index 42e8403..ddeb5bb 100644 --- a/variants/lilygo_tdeck_pro/TDeckBoard.h +++ b/variants/lilygo_tdeck_pro/TDeckBoard.h @@ -16,6 +16,13 @@ class TDeckBoard : public ESP32Board { public: void begin(); + void powerOff() override { + // Stop Bluetooth before power off + btStop(); + // Don't call parent or enterDeepSleep - let normal shutdown continue + // Display will show "hibernating..." text + } + void enterDeepSleep(uint32_t secs, int pin_wake_btn) { esp_sleep_pd_config(ESP_PD_DOMAIN_RTC_PERIPH, ESP_PD_OPTION_ON);