aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSelene ToyKeeper2019-06-02 00:50:22 -0600
committerSelene ToyKeeper2019-06-02 00:50:22 -0600
commit66fbafe914c88724f7f3edff8936928bd664f77d (patch)
tree44731e54566d5463104fcc4907dd3392cca16d79
parentmade button release timeout faster (384ms -> 288ms) to make light shut off so... (diff)
downloadanduril-66fbafe914c88724f7f3edff8936928bd664f77d.tar.gz
anduril-66fbafe914c88724f7f3edff8936928bd664f77d.tar.bz2
anduril-66fbafe914c88724f7f3edff8936928bd664f77d.zip
enabled manual memory option by default
-rw-r--r--spaghetti-monster/anduril/anduril.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/spaghetti-monster/anduril/anduril.c b/spaghetti-monster/anduril/anduril.c
index 8e801bc..0fa5340 100644
--- a/spaghetti-monster/anduril/anduril.c
+++ b/spaghetti-monster/anduril/anduril.c
@@ -42,6 +42,13 @@
// ("hold, release, hold" ramps down instead of up)
#define USE_REVERSING
+// add a runtime option to switch between automatic memory (default)
+// and manual memory (only available if compiled in)
+// (manual memory makes 1-click-from-off start at the same level each time)
+// (the level can be set explicitly with 5 clicks from on,
+// or the user can go back to automatic with click-click-click-click-hold)
+#define USE_MANUAL_MEMORY
+
// battery readout style (pick one)
#define BATTCHECK_VpT
//#define BATTCHECK_8bars // FIXME: breaks build
@@ -77,9 +84,6 @@
// dual-switch support (second switch is a tail clicky)
//#define START_AT_MEMORIZED_LEVEL
-// add a "manual memory" function (as opposed to the default automatic memory)
-//#define USE_MANUAL_MEMORY
-
/***** specific settings for known driver types *****/
#include "tk.h"
#include incfile(CONFIGFILE)
If you find this content useful please consider a small donation via bitcoin: bitcoin:1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2?amount=0.001&message=Donation Scraping git contents via cgit is very resource intensive. The continued hosting of these git repositories is entirely financed by your bitcoin contributions. For donations of a least 1 mBTC you include your IP address in the message of your bitcoin donation. This will remove this message in the future for requests from your IP, which will significantly reduce token usage. In any case, any contributions to bitcoin address 1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2 are very welcome. Thanks in advance for you contribution to a self-sustaining ecosystem.