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.
Diff: CAN/function_CAN.cpp
- Revision:
- 18:b8adf1582ea3
- Parent:
- 17:1865016ca2e7
- Child:
- 19:23b7c1ad8683
diff -r 1865016ca2e7 -r b8adf1582ea3 CAN/function_CAN.cpp
--- a/CAN/function_CAN.cpp Tue Sep 03 11:59:55 2019 +0000
+++ b/CAN/function_CAN.cpp Wed Sep 04 11:02:57 2019 +0000
@@ -84,7 +84,7 @@
break;
}
case CRX_SET_FET_ON: {
- //LAT_MOT_EN = (int16_t) msg.data[1];;
+ //LAT_MOT_EN = (int16_t) msg.data[1];
break;
}
@@ -220,7 +220,7 @@
}
case CRX_SET_VOLTAGE_VALVE: {
- VALVE_VOLTAGE_LIMIT = (double) ((int16_t) (msg.data[1] | msg.data[2] << 8)) / 10.;
+ VALVE_VOLTAGE_LIMIT = (double) ((int16_t) (msg.data[1] | msg.data[2] << 8)) / 10.0;
ROM_RESET_DATA();