diff options
| author | jacqueline <me@jacqueline.id.au> | 2023-01-21 15:09:05 +1100 |
|---|---|---|
| committer | jacqueline <me@jacqueline.id.au> | 2023-01-21 15:09:05 +1100 |
| commit | c7901ae4297d42d55bb3a06010198ecf14b3a7ba (patch) | |
| tree | 3a6f781b22509e72ea1f9906527086f0088c6cdc /src/drivers/include/gpio_expander.hpp | |
| parent | 8cb9e9361cbb9ab0427a48df923d0017935608be (diff) | |
| download | tangara-fw-c7901ae4297d42d55bb3a06010198ecf14b3a7ba.tar.gz | |
build fixes for new compiler version and standard
Diffstat (limited to 'src/drivers/include/gpio_expander.hpp')
| -rw-r--r-- | src/drivers/include/gpio_expander.hpp | 2 |
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 |
