From 8f10e9c155d5be958517e5a8513587118fd68f73 Mon Sep 17 00:00:00 2001 From: Selene ToyKeeper Date: Thu, 30 Jul 2020 00:04:55 -0600 Subject: reduced ROM another 12+6 bytes with more non-volatile vars (because they don't need to be volatile any more) --- spaghetti-monster/fsm-ramping.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spaghetti-monster/fsm-ramping.h') diff --git a/spaghetti-monster/fsm-ramping.h b/spaghetti-monster/fsm-ramping.h index 9f29f27..f177db9 100644 --- a/spaghetti-monster/fsm-ramping.h +++ b/spaghetti-monster/fsm-ramping.h @@ -33,7 +33,7 @@ uint8_t tint = 128; #ifdef USE_SET_LEVEL_GRADUALLY // adjust brightness very smoothly -volatile uint8_t gradual_target; +uint8_t gradual_target; inline void set_level_gradually(uint8_t lvl); void gradual_tick(); #endif -- cgit v1.2.3