diff options
| author | Selene ToyKeeper | 2020-08-18 07:46:34 -0600 |
|---|---|---|
| committer | Selene ToyKeeper | 2020-08-18 07:46:34 -0600 |
| commit | 55053e1b116d8b2e0cf51eb6bacee5bfb3762288 (patch) | |
| tree | 78323aa36ad4b4bc4410b0d77ae8ce3d8afd164c /spaghetti-monster/fsm-standby.h | |
| parent | fixed auto-lock timing, this time based on measurements of a D4v2 instead of ... (diff) | |
| download | anduril-55053e1b116d8b2e0cf51eb6bacee5bfb3762288.tar.gz anduril-55053e1b116d8b2e0cf51eb6bacee5bfb3762288.tar.bz2 anduril-55053e1b116d8b2e0cf51eb6bacee5bfb3762288.zip | |
fixed auto-lock timings again, based on measurement averages of several lights
(it turns out they're not very consistent)
Diffstat (limited to '')
| -rw-r--r-- | spaghetti-monster/fsm-standby.h | 12 |
1 files 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 |
