From 5f2d12b7b225bdf291cea76cf1ba5fc8796150b6 Mon Sep 17 00:00:00 2001 From: Selene ToyKeeper Date: Fri, 16 Oct 2020 22:10:35 -0600 Subject: start tint at 0 instead of 128 on lights with toggle instead of ramp --- spaghetti-monster/fsm-ramping.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'spaghetti-monster/fsm-ramping.h') 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 -- cgit v1.2.3