aboutsummaryrefslogtreecommitdiff
path: root/client/i2c.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'client/i2c.cpp')
-rw-r--r--client/i2c.cpp4
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);
}
}