aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster
diff options
context:
space:
mode:
authorSelene ToyKeeper2020-07-29 23:50:31 -0600
committerSelene ToyKeeper2020-07-29 23:50:31 -0600
commit91561af7f7c782841576d4556944d8dd35b61226 (patch)
treea6caf6978e90cae33f0086e0d8e1547be38a3b67 /spaghetti-monster
parentreduced ROM 42 bytes by making "emissions" non-volatile (diff)
downloadanduril-91561af7f7c782841576d4556944d8dd35b61226.tar.gz
anduril-91561af7f7c782841576d4556944d8dd35b61226.tar.bz2
anduril-91561af7f7c782841576d4556944d8dd35b61226.zip
reduced ROM size 56 bytes by making actual_level non-volatile
(seems unnecessary now; doesn't change in the middle of an event handler any more)
Diffstat (limited to 'spaghetti-monster')
-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 c650e21..9f29f27 100644
--- a/spaghetti-monster/fsm-ramping.h
+++ b/spaghetti-monster/fsm-ramping.h
@@ -24,7 +24,7 @@
#ifdef USE_RAMPING
// actual_level: last ramp level set by set_level()
-volatile uint8_t actual_level = 0;
+uint8_t actual_level = 0;
#ifdef USE_TINT_RAMPING
uint8_t tint = 128;