diff options
Diffstat (limited to 'src/drivers')
| -rw-r--r-- | src/drivers/touchwheel.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/drivers/touchwheel.cpp b/src/drivers/touchwheel.cpp index 6d624b0f..aabc5787 100644 --- a/src/drivers/touchwheel.cpp +++ b/src/drivers/touchwheel.cpp @@ -39,9 +39,7 @@ TouchWheel::TouchWheel() { gpio_config(&int_config); WriteRegister(RESET, 1); - while (gpio_get_level(kIntPin)) { - vTaskDelay(pdMS_TO_TICKS(10)); - } + vTaskDelay(pdMS_TO_TICKS(300)); // Configure keys 0, 1, and 2 as a wheel. WriteRegister(SLIDER_OPTIONS, 0b11000000); |
