CAN Headers.

Files at this revision

API Documentation at this revision

Comitter:
wsalis01
Date:
Sat Apr 28 22:44:32 2012 +0000
Parent:
7:dfc98924151b
Commit message:
Reverted BMS namespace ( wasnt compiling )

Changed in this revision

CANProtocol.h Show annotated file Show diff for this revision Revisions of this file
--- a/CANProtocol.h	Sat Apr 28 22:38:28 2012 +0000
+++ b/CANProtocol.h	Sat Apr 28 22:44:32 2012 +0000
@@ -22,28 +22,14 @@
 const int CAN_STATUS = 0x400; /* Relaxed Response: Status */
 
 /* BMS CAN */
-
-namespace BMS {
-
 const int ID0 = 0x620;
 const int ID1 = 0x621;
 const int ID2 = 0x622;
 const int ID3 = 0x623;
-
-struct voltages {
-    unsigned short pack;
-    unsigned char minVolt;
-    unsigned char minVoltNum;
-    unsigned char maxVolt;
-    unsigned char maxVoltNum;
-};
-
 const int ID4 = 0x624;
 const int ID5 = 0x625;
 const int ID6 = 0x626;
 const int ID7 = 0x627;
 const int ID8 = 0x628;
 
-}
-
 #endif