diff options
Diffstat (limited to 'shared/pb/driver.c')
-rw-r--r-- | shared/pb/driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/pb/driver.c b/shared/pb/driver.c index 2552b61..6b675ca 100644 --- a/shared/pb/driver.c +++ b/shared/pb/driver.c @@ -7,7 +7,7 @@ __weak bool pbdrv_hook_cmd() { __weak void pbdrv_i2c_recv(uint16_t addr, const char * buf, size_t sz) { if (sz == 0) return; - enum pb_cmd cmd = (enum pb_cmd) buf[0]; + pb_cmd_t cmd = (enum pb_cmd) buf[0]; // shift buffer pointer to only contain the puzzle bus message buf buf++; |