Fix CRC from read data
This commit is contained in:
parent
1122c97008
commit
fca10d4140
4 changed files with 124 additions and 13 deletions
|
@ -37,4 +37,11 @@
|
|||
#define MOTOR_ANGLE 0x72
|
||||
#define MOTOR_TORQUE 0x73
|
||||
|
||||
|
||||
//For send
|
||||
#define CAN_MSG_MAX_LEN 7
|
||||
#define CRC_SIZE 2
|
||||
#define ID_SIZE sizeof(uint8_t)
|
||||
|
||||
|
||||
#endif // REG_CAH_H_
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue