aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSelene ToyKeeper2020-08-18 07:56:18 -0600
committerSelene ToyKeeper2020-08-18 07:56:18 -0600
commit88d49c0f0cbdd4931cc7b9487716c46b42d36154 (patch)
treefbac1f89949cad42f2338b1d748bdf2b4b56451f
parentfixed auto-lock timings again, based on measurement averages of several lights (diff)
downloadanduril-88d49c0f0cbdd4931cc7b9487716c46b42d36154.tar.gz
anduril-88d49c0f0cbdd4931cc7b9487716c46b42d36154.tar.bz2
anduril-88d49c0f0cbdd4931cc7b9487716c46b42d36154.zip
made FF ROT66G2 and MF01-Mini build targets fit in 8192 bytes again
(they were slightly too big)
-rw-r--r--spaghetti-monster/anduril/cfg-ff-rot66g2.h2
-rw-r--r--spaghetti-monster/anduril/off-mode.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/spaghetti-monster/anduril/cfg-ff-rot66g2.h b/spaghetti-monster/anduril/cfg-ff-rot66g2.h
index 239660f..25e779d 100644
--- a/spaghetti-monster/anduril/cfg-ff-rot66g2.h
+++ b/spaghetti-monster/anduril/cfg-ff-rot66g2.h
@@ -2,7 +2,7 @@
#include "cfg-ff-rot66.h"
// ROM is too big... remove something
-//#undef USE_VOLTAGE_CORRECTION
+#undef USE_VOLTAGE_CORRECTION
// if the "low" mode was disabled, turn it back on
#ifdef INDICATOR_LED_SKIP_LOW
diff --git a/spaghetti-monster/anduril/off-mode.c b/spaghetti-monster/anduril/off-mode.c
index 5ab1b81..c650be4 100644
--- a/spaghetti-monster/anduril/off-mode.c
+++ b/spaghetti-monster/anduril/off-mode.c
@@ -165,7 +165,7 @@ uint8_t off_state(Event event, uint16_t arg) {
#ifdef USE_LOCKOUT_MODE
// 4 clicks: soft lockout
else if (event == EV_4clicks) {
- blink_confirm(2);
+ blink_once();
set_state(lockout_state, 0);
return MISCHIEF_MANAGED;
}