aboutsummaryrefslogtreecommitdiff
path: root/main/sock.h
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2024-05-21 10:30:06 +0200
committerlonkaars <loek@pipeframe.xyz>2024-05-21 10:30:06 +0200
commit68a5c65f9b0e1df30e9cef490d9b218b2f21f90d (patch)
tree804ec0edc0769764b0a090703cf784c2ac7a6f5c /main/sock.h
parentdb8906d54cd9afbc57f0b40a0d618335c552f704 (diff)
clean up puzbusv1 API
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);