diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-06-23 13:37:17 +0200 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-06-23 13:37:17 +0200 |
commit | 46eb2370e53c3a1c7eb593ca99c07944c81ec695 (patch) | |
tree | 7c0e81ecc74e2a3a1e28f8cd7881fa7de55cd0c2 /main | |
parent | 8b1f8a5b42a5a1ac5450cba1dbcbb5fd4bf3064c (diff) |
remove delay function from pbdrv
Diffstat (limited to 'main')
-rw-r--r-- | main/i2c.c | 2 | ||||
-rw-r--r-- | main/mod.c | 4 |
2 files changed, 1 insertions, 5 deletions
@@ -44,7 +44,7 @@ void bus_task() { state_exchange(); // wait 1 second - pb_mod_blocking_delay_ms(1e3); + vTaskDelay(1e3 / portTICK_PERIOD_MS); } } @@ -7,7 +7,3 @@ const char * PB_MOD_NAME = "main controller"; const i2c_addr_t PB_MOD_ADDR = PB_ADDR_MOD_MAIN; -void pb_mod_blocking_delay_ms(unsigned long ms) { - vTaskDelay(ms / portTICK_PERIOD_MS); -} - |