From 55053e1b116d8b2e0cf51eb6bacee5bfb3762288 Mon Sep 17 00:00:00 2001 From: Selene ToyKeeper Date: Tue, 18 Aug 2020 07:46:34 -0600 Subject: fixed auto-lock timings again, based on measurement averages of several lights (it turns out they're not very consistent) --- 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 f310f16..cd01e72 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 1730 +#define SLEEP_TICKS_PER_MINUTE 1800 #elif (STANDBY_TICK_SPEED == 2) #define SLEEP_TICKS_PER_SECOND 16 -#define SLEEP_TICKS_PER_MINUTE 865 +#define SLEEP_TICKS_PER_MINUTE 900 #elif (STANDBY_TICK_SPEED == 3) #define SLEEP_TICKS_PER_SECOND 8 -#define SLEEP_TICKS_PER_MINUTE 432 +#define SLEEP_TICKS_PER_MINUTE 450 #elif (STANDBY_TICK_SPEED == 4) #define SLEEP_TICKS_PER_SECOND 4 -#define SLEEP_TICKS_PER_MINUTE 216 +#define SLEEP_TICKS_PER_MINUTE 225 #elif (STANDBY_TICK_SPEED == 5) #define SLEEP_TICKS_PER_SECOND 2 -#define SLEEP_TICKS_PER_MINUTE 108 +#define SLEEP_TICKS_PER_MINUTE 113 #elif (STANDBY_TICK_SPEED == 6) #define SLEEP_TICKS_PER_SECOND 1 -#define SLEEP_TICKS_PER_MINUTE 55 +#define SLEEP_TICKS_PER_MINUTE 57 #endif #endif -- cgit v1.2.3