diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-06-22 17:00:51 +0200 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-06-22 17:00:51 +0200 |
commit | 3667d9a9955face0d4a147319cc902cbf8c95299 (patch) | |
tree | f69e49dabd6b5fc1618d2a21ab77e8fee0463d4e /client/i2c.cpp | |
parent | 33d17dbab86c1277a1327273fb9753b2c98b7b03 (diff) |
more client docs
Diffstat (limited to 'client/i2c.cpp')
-rw-r--r-- | client/i2c.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/i2c.cpp b/client/i2c.cpp index 78e5585..3655191 100644 --- a/client/i2c.cpp +++ b/client/i2c.cpp @@ -35,9 +35,9 @@ void i2c_send(uint16_t addr, const char * data, size_t data_size) { static void i2c_handle_cmd_read(uint16_t, const char *, size_t); -void i2c_recv(uint16_t addr, const char * data, size_t data_size) { +void i2c_recv(const char * data, size_t data_size) { if (i2c_dump_recv) { - printf("[%s] addr(0x%02x) data(0x%02lx):\n", __FUNCTION__, addr, data_size); + printf("[%s] data(0x%02lx):\n", __FUNCTION__, data_size); xxd(data, data_size); } } |