Code to run on the charger board (used to charge the car from the mains).

Dependencies:   mbed CUER_CAN

Revision:
11:f578a372be42
Parent:
10:839e8f984d28
Child:
12:77d493b3320b
--- a/charger.cpp	Sun Sep 10 11:17:54 2017 +0000
+++ b/charger.cpp	Sun Sep 10 11:33:19 2017 +0000
@@ -139,13 +139,13 @@
     
     if (timeouts.BMS_timeout.read_ms() > BMS_MSG_TIMEOUT_MS) 
     {
-        if (DEBUG) printf("Error: BMS comms timeout");
+        if (DEBUG) printf("Error: BMS comms timeout \r\n");
         comms_timeout = true;
     }
     
     if (timeouts.charger_timeout.read_ms() > CHARGER_MSG_TIMEOUT_MS) 
     {
-        if (DEBUG) printf("Error: Charger comms timeout");
+        if (DEBUG) printf("Error: Charger comms timeout \r\n");
         comms_timeout = true;
     }
 }