From ef162ca3445d9adb000d7dfd1b68b181ef958926 Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Fri, 14 Jun 2024 12:16:36 +0200 Subject: clean up pbdrv naming --- main/i2c.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'main/i2c.c') diff --git a/main/i2c.c b/main/i2c.c index 8edb1e8..77f4750 100644 --- a/main/i2c.c +++ b/main/i2c.c @@ -30,7 +30,7 @@ // return array; // } -void pbdrv_i2c_recv(const uint8_t * a, size_t b) { +void pb_i2c_recv(const uint8_t * a, size_t b) { printf("%.*s", b, a); } @@ -45,7 +45,7 @@ void bus_task() { while (true) { vTaskDelay(10 / portTICK_PERIOD_MS); - pbdrv_i2c_send(0x69, (uint8_t *) "bbbbbbbb", 9); + pb_i2c_send(0x69, (uint8_t *) "bbbbbbbb", 9); } // while(1) { -- cgit v1.2.3