summaryrefslogtreecommitdiff
path: root/src/drivers/include/gpio_expander.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/include/gpio_expander.hpp')
-rw-r--r--src/drivers/include/gpio_expander.hpp2
1 files changed, 1 insertions, 1 deletions
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