fix: promicro: add powerOff
This commit is contained in:
1 parent
2aafb1ab4f
commit
a420b85a5c
1 file changed
+4
@@ -61,5 +61,9 @@ public:
|
|||||||
NVIC_SystemReset();
|
NVIC_SystemReset();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void powerOff() override {
|
||||||
|
sd_power_system_off();
|
||||||
|
}
|
||||||
|
|
||||||
bool startOTAUpdate(const char* id, char reply[]) override;
|
bool startOTAUpdate(const char* id, char reply[]) override;
|
||||||
};
|
};
|
||||||
Reference in new issue
Block a user