summaryrefslogtreecommitdiff
path: root/firmware/drivers/button.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers/button.c')
-rw-r--r--firmware/drivers/button.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/button.c b/firmware/drivers/button.c
index f8e4a35b47..3ee5e7c2f4 100644
--- a/firmware/drivers/button.c
+++ b/firmware/drivers/button.c
@@ -177,7 +177,7 @@ static void button_tick(void)
177 /* Use the autoresetting oneshot to debounce the detection signal */ 177 /* Use the autoresetting oneshot to debounce the detection signal */
178 phones_present = !phones_present; 178 phones_present = !phones_present;
179 timeout_register(&hp_detect_timeout, btn_detect_callback, 179 timeout_register(&hp_detect_timeout, btn_detect_callback,
180 HZ, phones_present); 180 HZ/2, phones_present);
181 } 181 }
182#endif 182#endif
183 183