aboutsummaryrefslogtreecommitdiff
path: root/test/pbdrv/mod.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/pbdrv/mod.c')
-rw-r--r--test/pbdrv/mod.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/pbdrv/mod.c b/test/pbdrv/mod.c
index 81e4ebf..5c4c95e 100644
--- a/test/pbdrv/mod.c
+++ b/test/pbdrv/mod.c
@@ -1,6 +1,12 @@
+#include <stdio.h>
+
#include "pb-mod.h"
#include "pb-types.h"
const char * PB_MOD_NAME = "test";
const i2c_addr_t PB_MOD_ADDR = 0x08;
+void pb_i2c_send(i2c_addr_t addr, const uint8_t * buf, size_t sz) {
+ printf("[0x%02x]: buf[%lu]\n", addr & 0x7f, sz);
+}
+