Default press time to 0

This commit is contained in:
Terrence
2025-05-07 16:42:23 +08:00
parent c0acf30b25
commit ee0df3470c
6 changed files with 10 additions and 10 deletions

View File

@@ -9,7 +9,7 @@
AdcButton::AdcButton(const button_adc_config_t& adc_config) : Button(nullptr) {
button_config_t btn_config = {
.long_press_time = 2000,
.short_press_time = 50,
.short_press_time = 0,
};
ESP_ERROR_CHECK(iot_button_new_adc_device(&btn_config, &adc_config, &button_handle_));
}