Fixed powerOff for Techo

This commit is contained in:
Kevin Le committed 2026-07-05 18:54:26 +07:00
1 parent 205a4a6ff8
commit 0da1fe33e1
1 file changed
+1 -1
+1 -1
View File
@@ -24,6 +24,7 @@ public:
}
void powerOff() override {
NRF52Board::powerOff();
#ifdef LED_RED
digitalWrite(LED_RED, HIGH);
#endif
@@ -39,6 +40,5 @@ public:
#ifdef PIN_PWR_EN
digitalWrite(PIN_PWR_EN, LOW);
#endif
NRF52Board::powerOff();
}
};