aboutsummaryrefslogtreecommitdiff
path: root/main/i2c.c
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-06-14 12:16:36 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-06-14 12:16:36 +0200
commitef162ca3445d9adb000d7dfd1b68b181ef958926 (patch)
tree25c62f409323c0fa6be7c9034bc04ee2bb18ef50 /main/i2c.c
parent2cf895332ffd54ea1a43b090859943665709e420 (diff)
clean up pbdrv naming
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) {