1

Dependencies:   mcp2515 mbed-dev-f303

Revision:
2:cd74a8cb03b0
Parent:
0:d80c66cb1b3a
Child:
4:2503c88a564f
--- a/CAN/CAN.h	Tue Nov 17 11:32:58 2020 +0000
+++ b/CAN/CAN.h	Thu Nov 19 07:59:28 2020 +0000
@@ -24,15 +24,15 @@
 
 
 // 对象外部申明
-extern CAN knee_can,ankle_can;                 // 设备的外部申明
-extern CANMessage knee_rxMsg, ankle_rxMsg;     // 主控收到的CAN消息
-extern CANMessage knee_txMsg, ankle_txMsg;     // 主控发送的CAN消息
+extern CAN pf_can, df_can;                                                      //设备的外部申明
+extern CANMessage pf_rxMsg, df_rxMsg;                                           // 主控收到的CAN消息
+extern CANMessage PF_can, DF_can;                                               // 主控发送的CAN消息
 
 // 函数外部申明
 void pack_cmd(CANMessage * msg, joint_control joint);
 void PackAll();
 void WriteAll();
-void unpack_reply(CANMessage msg, leg_state * state);
+void unpack_reply(CANMessage msg, ankle_state * ankle);