Add an optional implementation of button debounce
This commit is contained in:
@@ -101,4 +101,10 @@ const watch_face_t watch_faces[] = {
|
||||
*/
|
||||
#define MOVEMENT_DEFAULT_LED_DURATION 1
|
||||
|
||||
/* Optionally debounce button presses (disable by default).
|
||||
* A value of 4 is a good starting point if you have issues
|
||||
* with multiple button presses firing.
|
||||
*/
|
||||
#define MOVEMENT_DEBOUNCE_TICKS 0
|
||||
|
||||
#endif // MOVEMENT_CONFIG_H_
|
||||
|
||||
Reference in New Issue
Block a user