aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster/fsm-ramping.h
diff options
context:
space:
mode:
authorGabriel Hart2021-02-01 13:01:02 -0600
committerGabriel Hart2021-02-01 13:01:02 -0600
commit7beebfc6f335f617cc0bd4c88b20793ca8e2b06c (patch)
treed96db6041a308caed35ee693389434263c901dd7 /spaghetti-monster/fsm-ramping.h
parentAdd RGB Aux functionality for 1-Series (diff)
parentupdated MODELS file with missing K9.3-nofet build target (diff)
downloadanduril-7beebfc6f335f617cc0bd4c88b20793ca8e2b06c.tar.gz
anduril-7beebfc6f335f617cc0bd4c88b20793ca8e2b06c.tar.bz2
anduril-7beebfc6f335f617cc0bd4c88b20793ca8e2b06c.zip
Merge TKs changes from 2021-01-25
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 f177db9..8fd89c7 100644
--- a/spaghetti-monster/fsm-ramping.h
+++ b/spaghetti-monster/fsm-ramping.h
@@ -27,7 +27,11 @@
uint8_t actual_level = 0;
#ifdef USE_TINT_RAMPING
+#ifdef TINT_RAMP_TOGGLE_ONLY
+uint8_t tint = 0;
+#else
uint8_t tint = 128;
+#endif
#define USE_TRIANGLE_WAVE
#endif