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.
Dependencies: mbed CANBuffer Watchdog MODSERIAL mbed-rtos xbeeRelay IAP
Fork of SystemManagement by
Diff: DC_DC/DC_DC.cpp
- Revision:
- 12:e0adb697fcdb
- Parent:
- 10:db13782f05d9
- Child:
- 17:c9ce210f6654
--- a/DC_DC/DC_DC.cpp Sun Oct 19 22:50:30 2014 +0000
+++ b/DC_DC/DC_DC.cpp Tue Oct 21 23:44:15 2014 +0000
@@ -28,10 +28,10 @@
}
void update_dcdc(const void *arg){
- char data[4] = {0};
+ char data[1] = {0};
while(1){
data[0] = status;
- CANMessage txMessage(TX_DC_DC_ID, data, 4);
+ CANMessage txMessage(TX_DC_DC_ID, data, 1);
tx_DC_Buffer->txWrite(txMessage);
Thread::wait(100); //10 Hz update
