aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster
diff options
context:
space:
mode:
authorSelene ToyKeeper2020-10-16 22:10:35 -0600
committerSelene ToyKeeper2020-10-16 22:10:35 -0600
commit5f2d12b7b225bdf291cea76cf1ba5fc8796150b6 (patch)
tree084c48b6ce962b24f44a224ea6e06968a05cbf54 /spaghetti-monster
parentmade gradual_tick() work on K9.3 (via override), fixed strobe config, (diff)
downloadanduril-5f2d12b7b225bdf291cea76cf1ba5fc8796150b6.tar.gz
anduril-5f2d12b7b225bdf291cea76cf1ba5fc8796150b6.tar.bz2
anduril-5f2d12b7b225bdf291cea76cf1ba5fc8796150b6.zip
start tint at 0 instead of 128 on lights with toggle instead of ramp
Diffstat (limited to 'spaghetti-monster')
-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