aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster/fsm-misc.h
diff options
context:
space:
mode:
authorSelene ToyKeeper2017-09-26 16:47:44 -0600
committerSelene ToyKeeper2017-09-26 16:47:44 -0600
commit45e3a7758046536754f073c42ac27dc737e69fab (patch)
tree189c6c5e42b34d89e80ca4d13d78af4680043fd1 /spaghetti-monster/fsm-misc.h
parentFixed moon in lockout state. Was too low since the MCU wasn't underclocked. (diff)
downloadanduril-45e3a7758046536754f073c42ac27dc737e69fab.tar.gz
anduril-45e3a7758046536754f073c42ac27dc737e69fab.tar.bz2
anduril-45e3a7758046536754f073c42ac27dc737e69fab.zip
Added dynamic underclocking to FSM, instead of doing it manually in Anduril.
Diffstat (limited to 'spaghetti-monster/fsm-misc.h')
-rw-r--r--spaghetti-monster/fsm-misc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/spaghetti-monster/fsm-misc.h b/spaghetti-monster/fsm-misc.h
index 58667a1..5e4f3d6 100644
--- a/spaghetti-monster/fsm-misc.h
+++ b/spaghetti-monster/fsm-misc.h
@@ -20,6 +20,10 @@
#ifndef FSM_MISC_H
#define FSM_MISC_H
+#ifdef USE_DYNAMIC_UNDERCLOCKING
+void auto_clock_speed();
+#endif
+
#if defined(USE_BLINK_NUM) || defined(USE_BLINK_DIGIT)
#ifndef BLINK_BRIGHTNESS
#define BLINK_BRIGHTNESS (MAX_LEVEL/6)