mirror of
https://github.com/mikecarper/MeshCore.git
synced 2026-10-22 23:31:24 +00:00
Scope charger controls to T-Beam and Mesh Solar flash budgets
This commit is contained in:
1 parent
79167af8e6
commit
1adf0c6d01
8 files changed
+56
-2
No files matched your search
@@ -469,12 +469,14 @@ public:
|
||||
}
|
||||
|
||||
void handleCommand(const char* command) {
|
||||
#if MESH_BATTERY_CHARGE_CONTROL
|
||||
char charge_reply[160];
|
||||
if (mesh::power::handleBatteryChargeCommand(board, command, charge_reply,
|
||||
sizeof(charge_reply))) {
|
||||
Serial.println(charge_reply);
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
#if defined(NRF52_POWER_MANAGEMENT)
|
||||
char voltage_reply[160];
|
||||
if (mesh::power::handleVoltagePolicyCommand(command, voltage_reply,
|
||||
|
||||
Reference in new issue
Block a user