From c7901ae4297d42d55bb3a06010198ecf14b3a7ba Mon Sep 17 00:00:00 2001 From: jacqueline Date: Sat, 21 Jan 2023 15:09:05 +1100 Subject: build fixes for new compiler version and standard --- src/drivers/include/gpio_expander.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/drivers/include/gpio_expander.hpp') diff --git a/src/drivers/include/gpio_expander.hpp b/src/drivers/include/gpio_expander.hpp index 8875e954..a6e96d87 100644 --- a/src/drivers/include/gpio_expander.hpp +++ b/src/drivers/include/gpio_expander.hpp @@ -32,7 +32,7 @@ class GpioExpander { ~GpioExpander(); static const uint8_t kPca8575Address = 0x20; - static const uint8_t kPca8575Timeout = 100 / portTICK_RATE_MS; + static const uint8_t kPca8575Timeout = pdMS_TO_TICKS(100); // Port A: // 0 - audio power enable -- cgit v1.2.3