aboutsummaryrefslogtreecommitdiff
path: root/main/i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/i2c.c')
-rw-r--r--main/i2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/i2c.c b/main/i2c.c
index db859d8..93b64db 100644
--- a/main/i2c.c
+++ b/main/i2c.c
@@ -44,7 +44,7 @@ void bus_task() {
state_exchange();
// wait 1 second
- pb_mod_blocking_delay_ms(1e3);
+ vTaskDelay(1e3 / portTICK_PERIOD_MS);
}
}