Add ESP32 alarms system status and debug commands
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
#pragma once
|
||||
|
||||
struct AlarmState {
|
||||
bool lowSoc = false;
|
||||
bool criticalSoc = false;
|
||||
bool lowVoltage = false;
|
||||
bool highBatteryTemp = false;
|
||||
bool cellImbalance = false;
|
||||
bool bmsDisconnected = false;
|
||||
};
|
||||
|
||||
extern AlarmState alarms;
|
||||
|
||||
void updateAlarms();
|
||||
Reference in New Issue
Block a user