big refactoring: J1939, log output, state machine bug fixes

This commit is contained in:
2026-05-07 22:12:13 +03:00
parent 137c9d3c8d
commit 7a74ef1367
49 changed files with 2574 additions and 684 deletions
+2 -2
View File
@@ -90,11 +90,11 @@ RGB_Cycle_t color_error = {
};
void LED_Write(){
if(CONN.chargingError != CONN_NO_ERROR){
if(CONN[0].chargingError != CONN_NO_ERROR){
LED_SetColor(&color_error);
return;
}
switch(CONN.connState){
switch(CONN[0].connState){
case Unknown:
LED_SetColor(&color_unknown);
break;