aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster
diff options
context:
space:
mode:
authorSelene ToyKeeper2019-07-30 15:59:58 -0600
committerSelene ToyKeeper2019-07-30 15:59:58 -0600
commit26c61658ff87710d9528f6749202245464675a1c (patch)
treef91e900f0a958e6c13869ec3dd3d03d2ed15631d /spaghetti-monster
parentfsm-ramping: made it possible to change bit depth of PWM values (8-bit or 16-... (diff)
downloadanduril-26c61658ff87710d9528f6749202245464675a1c.tar.gz
anduril-26c61658ff87710d9528f6749202245464675a1c.tar.bz2
anduril-26c61658ff87710d9528f6749202245464675a1c.zip
anduril: made it possible for config files to disable underclocking at low levels
Diffstat (limited to 'spaghetti-monster')
-rw-r--r--spaghetti-monster/anduril/anduril.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/spaghetti-monster/anduril/anduril.c b/spaghetti-monster/anduril/anduril.c
index 8ab66f5..9853878 100644
--- a/spaghetti-monster/anduril/anduril.c
+++ b/spaghetti-monster/anduril/anduril.c
@@ -89,6 +89,10 @@
//#define USE_POLICE_STROBE_MODE
//#define USE_SOS_MODE
+// cut clock speed at very low modes for better efficiency
+// (defined here so config files can override it)
+#define USE_DYNAMIC_UNDERCLOCKING
+
/***** specific settings for known driver types *****/
#include "tk.h"
#include incfile(CONFIGFILE)
@@ -128,7 +132,6 @@
#endif
#endif
#define USE_IDLE_MODE // reduce power use while awake and no tasks are pending
-#define USE_DYNAMIC_UNDERCLOCKING // cut clock speed at very low modes for better efficiency
// full FET strobe can be a bit much... use max regulated level instead,
// if there's a bright enough regulated level
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.