diff options
-rw-r--r-- | openpcd/firmware/include/openpcd.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/openpcd/firmware/include/openpcd.h b/openpcd/firmware/include/openpcd.h index 61bc205..2dbae5f 100644 --- a/openpcd/firmware/include/openpcd.h +++ b/openpcd/firmware/include/openpcd.h @@ -20,6 +20,8 @@ enum openpcd_cmd_class { OPENPCD_CMD_CLS_PWM = 0x4, }; +#define OPENPC_REG_MAX 0x3f + #define OPENPCD_CMD_CLS(x) (x >> 4) #define OPENPCD_CMD(x) (x & 0xf) |