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;
If you find this content useful please consider a small donation via bitcoin: bitcoin:1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2?amount=0.001&message=Donation Scraping git contents via cgit is very resource intensive. The continued hosting of these git repositories is entirely financed by your bitcoin contributions. For donations of a least 1 mBTC you include your IP address in the message of your bitcoin donation. This will remove this message in the future for requests from your IP, which will significantly reduce token usage. In any case, any contributions to bitcoin address 1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2 are very welcome. Thanks in advance for you contribution to a self-sustaining ecosystem.