nrf52_variants: override shutdownPeripherals instead of powerOff for TechoLite, TInpulse and TechoBoard (protect the gate)

This commit is contained in:
Florent committed 2026-07-17 07:36:39 -04:00
1 parent 3489309e08
commit dccbdd4a02
4 files changed
+7 -7

No files matched your search

+2 -2
View File
@@ -21,8 +21,8 @@ public:
return "LilyGo T-Echo Lite";
}
void powerOff() override {
NRF52Board::powerOff();
void shutdownPeripherals() override {
NRF52Board::shutdownPeripherals();
digitalWrite(PIN_VBAT_MEAS_EN, LOW);
#ifdef LED_RED