diff options
| author | Selene ToyKeeper | 2019-07-30 15:59:58 -0600 |
|---|---|---|
| committer | Selene ToyKeeper | 2019-07-30 15:59:58 -0600 |
| commit | 26c61658ff87710d9528f6749202245464675a1c (patch) | |
| tree | f91e900f0a958e6c13869ec3dd3d03d2ed15631d | |
| parent | fsm-ramping: made it possible to change bit depth of PWM values (8-bit or 16-... (diff) | |
| download | anduril-26c61658ff87710d9528f6749202245464675a1c.tar.gz anduril-26c61658ff87710d9528f6749202245464675a1c.tar.bz2 anduril-26c61658ff87710d9528f6749202245464675a1c.zip | |
anduril: made it possible for config files to disable underclocking at low levels
| -rw-r--r-- | spaghetti-monster/anduril/anduril.c | 5 |
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 |
