aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster/fsm-ramping.h
diff options
context:
space:
mode:
authorSelene ToyKeeper2019-05-11 00:49:11 -0600
committerSelene ToyKeeper2019-05-11 00:49:11 -0600
commit55ba91304062deed35199b43c0d17b611218eec8 (patch)
tree1fdf8995748be1298785c97813d2ce9d7f09e588 /spaghetti-monster/fsm-ramping.h
parentattempt to reduce mid-ramp "pop" (diff)
parentIncreased default candle magnitude to better fit recent changes (diff)
downloadanduril-55ba91304062deed35199b43c0d17b611218eec8.tar.gz
anduril-55ba91304062deed35199b43c0d17b611218eec8.tar.bz2
anduril-55ba91304062deed35199b43c0d17b611218eec8.zip
merged from lantern branch, to get candle mode updates
Diffstat (limited to 'spaghetti-monster/fsm-ramping.h')
-rw-r--r--spaghetti-monster/fsm-ramping.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/spaghetti-monster/fsm-ramping.h b/spaghetti-monster/fsm-ramping.h
index 14c8dae..4ce8015 100644
--- a/spaghetti-monster/fsm-ramping.h
+++ b/spaghetti-monster/fsm-ramping.h
@@ -26,6 +26,10 @@
// actual_level: last ramp level set by set_level()
volatile uint8_t actual_level = 0;
+#ifdef USE_TINT_RAMPING
+uint8_t tint = 128;
+#endif
+
#ifdef USE_SET_LEVEL_GRADUALLY
// adjust brightness very smoothly
volatile uint8_t gradual_target;