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 --- puzzle/dummy/main.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'puzzle/dummy/main.cpp') diff --git a/puzzle/dummy/main.cpp b/puzzle/dummy/main.cpp index 3d84679..ab10760 100644 --- a/puzzle/dummy/main.cpp +++ b/puzzle/dummy/main.cpp @@ -20,17 +20,17 @@ #define MSG_DELAY 10 #endif -const char * PBDRV_MOD_NAME = "dummy"; -const i2c_addr_t PBDRV_MOD_ADDR = ADDR_RX; +const char * PB_MOD_NAME = "dummy"; +const i2c_addr_t PB_MOD_ADDR = ADDR_RX; void setup() { - pbdrv_setup(); + pb_setup(); } void loop() { - pbdrv_i2c_send(ADDR_TX, (uint8_t *) MSG, MSG_SIZE); + pb_i2c_send(ADDR_TX, (uint8_t *) MSG, MSG_SIZE); delay(MSG_DELAY); } -void pbdrv_i2c_recv(const uint8_t * data, size_t size) { } +void pb_i2c_recv(const uint8_t * data, size_t size) { } -- cgit v1.2.3