diff options
Diffstat (limited to 'shared/pb/driver.h')
-rw-r--r-- | shared/pb/driver.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shared/pb/driver.h b/shared/pb/driver.h index 1c9c3a3..b5b2784 100644 --- a/shared/pb/driver.h +++ b/shared/pb/driver.h @@ -13,8 +13,8 @@ extern "C" { void pbdrv_i2c_recv(uint16_t addr, const char * buf, size_t sz); void pbdrv_i2c_send(uint16_t addr, const char * buf, size_t sz); -void pbdrv_hook_state(enum pb_global_state * state, bool rw); -bool pbdrv_hook_cmd(enum pb_cmd cmd, const char * buf, size_t sz); +void pbdrv_hook_state(pb_state_t * state, bool rw); +bool pbdrv_hook_cmd(pb_cmd_t cmd, const char * buf, size_t sz); void pbdrv_handle_read(const char * buf, size_t sz); |