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
If you find this content useful please consider a small donation via bitcoin: bitcoin:1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2?amount=0.001&message=Donation Scraping git contents via cgit is very resource intensive. The continued hosting of these git repositories is entirely financed by your bitcoin contributions. For donations of a least 1 mBTC you include your IP address in the message of your bitcoin donation. This will remove this message in the future for requests from your IP, which will significantly reduce token usage. In any case, any contributions to bitcoin address 1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2 are very welcome. Thanks in advance for you contribution to a self-sustaining ecosystem.