Update MeshCore.h

This commit is contained in:
F4FPR
2026-08-14 00:42:57 +02:00
committed by GitHub
parent b09cb27a1f
commit 3bcfb70141
+2
View File
@@ -74,6 +74,8 @@ public:
// Power management interface (boards with power management override these)
virtual bool isExternalPowered() { return false; }
// True while a board can identify an active battery-charging source.
virtual bool isChargerActive() { return false; }
virtual uint16_t getBootVoltage() { return 0; }
virtual uint32_t getResetReason() const { return 0; }
virtual const char* getResetReasonString(uint32_t reason) { return "Not available"; }