aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster/fsm-ramping.h
diff options
context:
space:
mode:
authorSelene ToyKeeper2019-05-13 02:27:55 -0600
committerSelene ToyKeeper2019-05-13 02:27:55 -0600
commit17472974892e4ff224fc84c73cefb2af6cfd4954 (patch)
tree49d39a93dda664829aca996328aaa3e76c84d3c8 /spaghetti-monster/fsm-ramping.h
parentcompletely recalibrated FF E01 to match production sample (diff)
parentIncreased default candle magnitude to better fit recent changes (diff)
downloadanduril-17472974892e4ff224fc84c73cefb2af6cfd4954.tar.gz
anduril-17472974892e4ff224fc84c73cefb2af6cfd4954.tar.bz2
anduril-17472974892e4ff224fc84c73cefb2af6cfd4954.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;