diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-06-14 12:16:36 +0200 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-06-14 12:16:36 +0200 |
commit | ef162ca3445d9adb000d7dfd1b68b181ef958926 (patch) | |
tree | 25c62f409323c0fa6be7c9034bc04ee2bb18ef50 /puzzle/dummy/main.cpp | |
parent | 2cf895332ffd54ea1a43b090859943665709e420 (diff) |
clean up pbdrv naming
Diffstat (limited to 'puzzle/dummy/main.cpp')
-rw-r--r-- | puzzle/dummy/main.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
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) { } |