aboutsummaryrefslogtreecommitdiff
path: root/main/i2c.c
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-06-15 13:30:45 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-06-15 13:30:45 +0200
commit20f442e5f5aa6a4fcf07f65e2f446a3c0ff8e4f2 (patch)
tree99f2422681eaa34a6f21b54d86e67115c291d5ce /main/i2c.c
parentdbe08a8cd3d29cee7ba1adae4841c0a831784f31 (diff)
WIP freertos + Arduino workaround
Diffstat (limited to 'main/i2c.c')
-rw-r--r--main/i2c.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/main/i2c.c b/main/i2c.c
index cb42ca4..ccd6b46 100644
--- a/main/i2c.c
+++ b/main/i2c.c
@@ -17,3 +17,7 @@ void bus_task() {
vTaskDelete(NULL);
}
+void pb_route_cmd_magic_res(pb_msg_t * msg) {
+ printf("got a magic response from 0x%02x!\n", msg->sender);
+}
+