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:
- 50:3c630b5eba9f
- Parent:
- 49:e7bcfc244d40
- Child:
- 52:8ea76864368a
--- a/CAN/function_CAN.cpp Wed Feb 05 08:35:58 2020 +0000
+++ b/CAN/function_CAN.cpp Thu Feb 13 05:16:15 2020 +0000
@@ -324,20 +324,6 @@
break;
}
-
- case CRX_ASK_FLOWFORCE_GAIN: {
- CAN_TX_FLOWFORCE_GAIN();
-
- break;
- }
-
- case CRX_SET_FLOWFORCE_GAIN: {
- FLOWFORCE_GAIN = (int16_t) (msg.data[1] | msg.data[2] << 8);
-
- ROM_RESET_DATA();
-
- break;
- }
case CRX_ASK_VALVE_FF: {
CAN_TX_VALVE_FF();
@@ -955,18 +941,6 @@
can.write(temp_msg);
}
-void CAN_TX_FLOWFORCE_GAIN(void) {
- CANMessage temp_msg;
-
- temp_msg.id = CID_TX_INFO;
- temp_msg.len = 3;
- temp_msg.data[0] = (uint8_t) CTX_SEND_FLOWFORCE_GAIN;
- temp_msg.data[1] = (uint8_t) FLOWFORCE_GAIN;
- temp_msg.data[2] = (uint8_t) (FLOWFORCE_GAIN >> 8);
-
- can.write(temp_msg);
-}
-
void CAN_TX_VALVE_FF(void) {
CANMessage temp_msg;