mirror of
https://github.com/firewalkwithm3/Sensor-Watch.git
synced 2024-11-22 19:20:30 +08:00
Brought debounce time to 8ms rather than 15
This commit is contained in:
parent
027e42dc58
commit
7bbac4cd80
|
@ -23,6 +23,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define MOVEMENT_LONG_PRESS_TICKS 64
|
#define MOVEMENT_LONG_PRESS_TICKS 64
|
||||||
|
#define DEBOUNCE_TICKS 1 // In terms of *7.8125ms
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
@ -99,8 +100,6 @@
|
||||||
#include <emscripten.h>
|
#include <emscripten.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define DEBOUNCE_TICKS 2 // In terms of *7.8125ms
|
|
||||||
|
|
||||||
movement_state_t movement_state;
|
movement_state_t movement_state;
|
||||||
void * watch_face_contexts[MOVEMENT_NUM_FACES];
|
void * watch_face_contexts[MOVEMENT_NUM_FACES];
|
||||||
watch_date_time scheduled_tasks[MOVEMENT_NUM_FACES];
|
watch_date_time scheduled_tasks[MOVEMENT_NUM_FACES];
|
||||||
|
|
Loading…
Reference in a new issue