Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Revision 8:3f7b957d3617, committed 2012-04-28
- 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