mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-09-14 15:16:40 +00:00
nrf52_variants: override shutdownPeripherals instead of powerOff for TechoLite, TInpulse and TechoBoard (protect the gate)
This commit is contained in:
@@ -47,9 +47,9 @@ public:
|
||||
return "LilyGo T-Impulse-Plus";
|
||||
}
|
||||
|
||||
void powerOff() override {
|
||||
void shutdownPeripherals() override {
|
||||
// power off system
|
||||
NRF52Board::powerOff();
|
||||
NRF52Board::shutdownPeripherals();
|
||||
|
||||
// turn off 3.3v
|
||||
digitalWrite(RT9080_EN, LOW);
|
||||
|
||||
Reference in New Issue
Block a user