Stop charging if we're discharging

This commit is contained in:
jazzpi
2022-08-05 00:13:17 +02:00
parent 77f600ddb3
commit e3080b1f6e
3 changed files with 8 additions and 1 deletions

View File

@ -32,6 +32,7 @@ typedef struct {
int32_t BatteryVoltageVehicleSide;
int32_t BatteryVoltageBatterySide;
int32_t shuntCurrent;
uint8_t targetTSState;
uint8_t currentTSState;
uint32_t precharge95ReachedTimestamp;