Skip to content

Commit

Permalink
Add debug message for inverter timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
dalathegreat committed Nov 8, 2023
1 parent 867ce89 commit fd6d4ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Software/src/inverter/GOODWE-CAN.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ void receive_can_goodwe(CAN_frame_t rx_frame)
switch (rx_frame.MsgID)
{
case 0x420: //Message originating from GW6000-EH. Indicates timeout
//Todo, add USB debug message if this happens?
Serial.println("ERROR: The inverter GW6000-EH has detected a timeout of necessary CAN messages!");
break;
case 0x425: //Inverter Vbat, Ibat
//inverter_voltage = frame0 and frame 1
Expand Down

0 comments on commit fd6d4ad

Please sign in to comment.