aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster/fsm-ramping.h
diff options
context:
space:
mode:
authorSelene ToyKeeper2019-05-14 01:42:44 -0600
committerSelene ToyKeeper2019-05-14 01:42:44 -0600
commit310074c6cf46f3e76873c027b2235457ca35c151 (patch)
treea2d97f4c55390a80261ec38284b6359e79c29d16 /spaghetti-monster/fsm-ramping.h
parentmoved triangle_wave into fsm-misc, because I need it for power correction in ... (diff)
downloadanduril-310074c6cf46f3e76873c027b2235457ca35c151.tar.gz
anduril-310074c6cf46f3e76873c027b2235457ca35c151.tar.bz2
anduril-310074c6cf46f3e76873c027b2235457ca35c151.zip
added tint ramping power correction for middle tints
(it actually needs a surprisingly large correction factor)
Diffstat (limited to '')
-rw-r--r--spaghetti-monster/fsm-ramping.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/spaghetti-monster/fsm-ramping.h b/spaghetti-monster/fsm-ramping.h
index 4ce8015..dcc3b74 100644
--- a/spaghetti-monster/fsm-ramping.h
+++ b/spaghetti-monster/fsm-ramping.h
@@ -28,6 +28,7 @@ volatile uint8_t actual_level = 0;
#ifdef USE_TINT_RAMPING
uint8_t tint = 128;
+#define USE_TRIANGLE_WAVE
#endif
#ifdef USE_SET_LEVEL_GRADUALLY