aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster
diff options
context:
space:
mode:
authorSelene ToyKeeper2021-09-10 01:22:35 -0600
committerSelene ToyKeeper2021-09-10 01:22:35 -0600
commit75cecc4525522b3a4c6339b5aa303bb568769974 (patch)
tree0d064deb3f8aba74acdc21bc9f1200f95f2d3912 /spaghetti-monster
parentfixed blf-lantern-t1616 build... I think (diff)
downloadanduril-75cecc4525522b3a4c6339b5aa303bb568769974.tar.gz
anduril-75cecc4525522b3a4c6339b5aa303bb568769974.tar.bz2
anduril-75cecc4525522b3a4c6339b5aa303bb568769974.zip
fixed K9.3 builds (oops, new update_tint() needed to be compiled out for K9.3)
Diffstat (limited to 'spaghetti-monster')
-rw-r--r--spaghetti-monster/fsm-ramping.c2
-rw-r--r--spaghetti-monster/fsm-ramping.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/spaghetti-monster/fsm-ramping.c b/spaghetti-monster/fsm-ramping.c
index 88fb490..e8fcde7 100644
--- a/spaghetti-monster/fsm-ramping.c
+++ b/spaghetti-monster/fsm-ramping.c
@@ -282,7 +282,7 @@ void gradual_tick() {
#endif // ifdef USE_SET_LEVEL_GRADUALLY
-#ifdef USE_TINT_RAMPING
+#if defined(USE_TINT_RAMPING) && (!defined(TINT_RAMP_TOGGLE_ONLY))
void update_tint() {
#ifndef TINT_RAMPING_CORRECTION
#define TINT_RAMPING_CORRECTION 26 // 140% brightness at middle tint
diff --git a/spaghetti-monster/fsm-ramping.h b/spaghetti-monster/fsm-ramping.h
index d8aad18..c1f6064 100644
--- a/spaghetti-monster/fsm-ramping.h
+++ b/spaghetti-monster/fsm-ramping.h
@@ -42,7 +42,7 @@ inline void set_level_gradually(uint8_t lvl);
void gradual_tick();
#endif
-#ifdef USE_TINT_RAMPING
+#if defined(USE_TINT_RAMPING) && (!defined(TINT_RAMP_TOGGLE_ONLY))
void update_tint();
#endif