diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-05-29 17:44:10 +0200 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-05-29 17:44:10 +0200 |
commit | e5a0e65c43934a803c430e53bfa4421a2861a080 (patch) | |
tree | 59fa141cb280e27b17347a0b6cfafa0c774418f6 /shared/pb/driver.h | |
parent | a9a38d387f98b29b68f97b8a9c6858d2b399caf0 (diff) | |
parent | 135543d37cc075b4d9924b54f98c83eda3862d1d (diff) |
merge wip/puzbus-spec into wip/client
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); |