Fixed cpplint

This commit is contained in:
lulko 2025-03-03 11:43:03 +03:00
parent c44edc638d
commit aa1a78117b
2 changed files with 41 additions and 40 deletions

View file

@ -1,3 +1,5 @@
#ifndef REG_CAH_H_
#define REG_CAH_H_
#define ADDR_VAR 0x8040000
#define ADDR_VAR_ID ADDR_VAR
#define ADDR_VAR_P (ADDR_VAR + 1)
@ -8,6 +10,9 @@
#define REG_WRITE 0xA0
/* Startup ID device */
#define START_ID 0x00
/* CAN REGISTER ID */
#define REG_ID 0x01
#define REG_BAUDRATE 0x02
@ -25,3 +30,10 @@
#define REG_RESET 0x88
#define REG_LED_BLINK 0x8B
#define FOC_STATE 0x60
#define MOTOR_VELOCITY 0x70
#define MOTOR_ENABLED 0x71
#define MOTOR_ANGLE 0x72
#endif // REG_CAH_H_