From 47b6381ee0f91ed94ef4b15350145e044705c6e1 Mon Sep 17 00:00:00 2001 From: Selene ToyKeeper Date: Tue, 18 Aug 2020 07:36:13 -0600 Subject: fixed auto-lock timing, this time based on measurements of a D4v2 instead of just data sheets and math --- spaghetti-monster/fsm-standby.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/spaghetti-monster/fsm-standby.h b/spaghetti-monster/fsm-standby.h index b97ef7c..f310f16 100644 --- a/spaghetti-monster/fsm-standby.h +++ b/spaghetti-monster/fsm-standby.h @@ -48,27 +48,27 @@ volatile uint8_t go_to_standby = 0; #if (STANDBY_TICK_SPEED == 1) #define SLEEP_TICKS_PER_SECOND 31 -#define SLEEP_TICKS_PER_MINUTE 1875 +#define SLEEP_TICKS_PER_MINUTE 1730 #elif (STANDBY_TICK_SPEED == 2) #define SLEEP_TICKS_PER_SECOND 16 -#define SLEEP_TICKS_PER_MINUTE 938 +#define SLEEP_TICKS_PER_MINUTE 865 #elif (STANDBY_TICK_SPEED == 3) #define SLEEP_TICKS_PER_SECOND 8 -#define SLEEP_TICKS_PER_MINUTE 469 +#define SLEEP_TICKS_PER_MINUTE 432 #elif (STANDBY_TICK_SPEED == 4) #define SLEEP_TICKS_PER_SECOND 4 -#define SLEEP_TICKS_PER_MINUTE 234 +#define SLEEP_TICKS_PER_MINUTE 216 #elif (STANDBY_TICK_SPEED == 5) #define SLEEP_TICKS_PER_SECOND 2 -#define SLEEP_TICKS_PER_MINUTE 117 +#define SLEEP_TICKS_PER_MINUTE 108 #elif (STANDBY_TICK_SPEED == 6) #define SLEEP_TICKS_PER_SECOND 1 -#define SLEEP_TICKS_PER_MINUTE 59 +#define SLEEP_TICKS_PER_MINUTE 55 #endif #endif -- cgit v1.2.3