aboutsummaryrefslogtreecommitdiff
path: root/main/i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/i2c.c')
-rw-r--r--main/i2c.c4
1 files changed, 2 insertions, 2 deletions
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) {