Make register define order less confusing

This commit is contained in:
Ondrej Jirman 2021-09-05 02:07:12 +02:00
parent a049cd5107
commit 78c72fe448

View file

@ -42,8 +42,8 @@
#define REG_SYS_CONFIG 0x20 #define REG_SYS_CONFIG 0x20
#define REG_SYS_CONFIG_SCAN_BLOCK BIT(0) #define REG_SYS_CONFIG_SCAN_BLOCK BIT(0)
#define REG_SYS_CHG_DATA 0x22
#define REG_SYS_CHG_ADDR 0x21 #define REG_SYS_CHG_ADDR 0x21
#define REG_SYS_CHG_DATA 0x22
#define REG_SYS_COMMAND 0x23 #define REG_SYS_COMMAND 0x23
#define REG_SYS_COMMAND_MCU_RESET 'r' #define REG_SYS_COMMAND_MCU_RESET 'r'