Fix CRC from read data

This commit is contained in:
Valentin Dabstep 2025-05-13 19:05:54 +03:00
parent 1122c97008
commit fca10d4140
4 changed files with 124 additions and 13 deletions

View file

@ -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_