![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Original Version of STM Board
Diff: CAN/function_CAN.cpp
- Revision:
- 17:1865016ca2e7
- Parent:
- 16:903b5a4433b4
- Child:
- 18:b8adf1582ea3
--- a/CAN/function_CAN.cpp Mon Sep 02 13:32:33 2019 +0000 +++ b/CAN/function_CAN.cpp Tue Sep 03 11:59:55 2019 +0000 @@ -651,7 +651,7 @@ if(address==CID_RX_CMD){ unsigned int CMD = msg.data[0]; ReadCMD(CMD); - pc.printf("cmd %d\n ",CMD); + //pc.printf("cmd %d\n ",CMD); } else if(address==CID_RX_REF_POSITION) { int32_t temp_pos = (int32_t) (msg.data[0] | msg.data[1] << 8 | msg.data[2] << 16 | msg.data[3] << 24); int32_t temp_vel = (int32_t) (msg.data[4] | msg.data[5] << 8 | msg.data[6] << 16 | msg.data[7] << 24);