mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-06-07 10:51:40 +00:00
* some fixes around the powerOff(). Tidy ups
This commit is contained in:
+1
-1
@@ -40,7 +40,7 @@ public:
|
||||
virtual void onBeforeTransmit() { }
|
||||
virtual void onAfterTransmit() { }
|
||||
virtual void reboot() = 0;
|
||||
virtual void powerOff() { while (1) { }}; // hope it's overriden or never called ;)
|
||||
virtual void powerOff() { /* no op */ }
|
||||
virtual uint8_t getStartupReason() const = 0;
|
||||
virtual bool startOTAUpdate() { return false; } // not supported
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user