aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster/fsm-ramping.h
diff options
context:
space:
mode:
authorSelene ToyKeeper2020-07-30 00:04:55 -0600
committerSelene ToyKeeper2020-07-30 00:04:55 -0600
commit8f10e9c155d5be958517e5a8513587118fd68f73 (patch)
tree0706bf7bd49410b89949ccf74c1390750d39d04b /spaghetti-monster/fsm-ramping.h
parentreduced ROM size 56 bytes by making actual_level non-volatile (diff)
downloadanduril-8f10e9c155d5be958517e5a8513587118fd68f73.tar.gz
anduril-8f10e9c155d5be958517e5a8513587118fd68f73.tar.bz2
anduril-8f10e9c155d5be958517e5a8513587118fd68f73.zip
reduced ROM another 12+6 bytes with more non-volatile vars
(because they don't need to be volatile any more)
Diffstat (limited to 'spaghetti-monster/fsm-ramping.h')
-rw-r--r--spaghetti-monster/fsm-ramping.h2
1 files changed, 1 insertions, 1 deletions
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