diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-06-25 12:20:13 +0200 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-06-25 12:20:13 +0200 |
commit | f594d070418a3b2be6e5c08068f969e8793315ba (patch) | |
tree | 33f450045708e794ecb01efb43e5cfce76c0bb38 /lib/pbdrv/drv/rp2040/mod.c | |
parent | df5f2cc3ca34c47302fad4af2a4e614e000e4c51 (diff) | |
parent | 1c33371af4fdc59387fe523fab09634bdea54acc (diff) |
Merge branch 'master' of github.com:lonkaars/puzzelbox into prot/smoketest
Diffstat (limited to 'lib/pbdrv/drv/rp2040/mod.c')
-rw-r--r-- | lib/pbdrv/drv/rp2040/mod.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/pbdrv/drv/rp2040/mod.c b/lib/pbdrv/drv/rp2040/mod.c index 1535da9..bc20927 100644 --- a/lib/pbdrv/drv/rp2040/mod.c +++ b/lib/pbdrv/drv/rp2040/mod.c @@ -43,6 +43,8 @@ void pb_setup() { } __weak void pb_i2c_send(i2c_addr_t addr, const uint8_t * buf, size_t sz) { + pb_hook_i2c_send(addr, buf, sz); + // false to write stop condition to i2c bus i2c_write_timeout_us(PB_I2C_M, addr, buf, sz, false, PB_TIMEOUT_US); } |