Merge meshcore-dev dev with companion and board integrations
This commit is contained in:
commit
4139e7e24d
78 files changed
+1904
-190
No files matched your search
@@ -228,6 +228,7 @@ public:
|
||||
#endif
|
||||
|
||||
// Power management interface (boards with power management override these)
|
||||
virtual bool isPwrMgtInitialised() const { return false; }
|
||||
virtual bool isExternalPowered() { return false; }
|
||||
virtual bool isUsbDataConnected() { return false; }
|
||||
// True when the device is enumerated by a USB host, even if its serial port
|
||||
@@ -235,6 +236,7 @@ public:
|
||||
// that cannot distinguish a computer from USB power.
|
||||
virtual bool isUsbHostConnected() { return isUsbDataConnected(); }
|
||||
virtual uint16_t getBootVoltage() { return 0; }
|
||||
virtual bool getWakeLpcompSupported() const { return false; }
|
||||
virtual uint32_t getResetReason() const { return 0; }
|
||||
virtual const char* getResetReasonString(uint32_t reason) { return "Not available"; }
|
||||
virtual uint8_t getShutdownReason() const { return 0; }
|
||||
|
||||
Reference in new issue
Block a user