aboutsummaryrefslogtreecommitdiff
path: root/main/sock.h
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2024-05-22 19:32:30 +0200
committerlonkaars <loek@pipeframe.xyz>2024-05-22 19:32:30 +0200
commitb74efcf6c6badcc7dc1937d511a163108f9fac0f (patch)
treeb600efc48914f0c4eddbfdcc8d045149b9e0a926 /main/sock.h
parent53d27ebf10225274a50dc4a7c2343d4efce55a8a (diff)
parent68a5c65f9b0e1df30e9cef490d9b218b2f21f90d (diff)
Merge branch 'wip/main-controller' of github.com:lonkaars/puzzelbox into wip/main-controller
Diffstat (limited to 'main/sock.h')
-rw-r--r--main/sock.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/sock.h b/main/sock.h
index 2a73418..f2db35d 100644
--- a/main/sock.h
+++ b/main/sock.h
@@ -6,6 +6,6 @@
/** \brief start listening for TCP socket requests */
void serve_task();
-void i2c_send(uint16_t addr, char* data, size_t data_size);
-void i2c_recv(uint16_t addr, char* data, size_t data_size);
+void i2c_send(uint16_t addr, const char * data, size_t data_size);
+void i2c_recv(uint16_t addr, const char * data, size_t data_size);