aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSelene ToyKeeper2020-08-05 20:56:10 -0600
committerSelene ToyKeeper2020-08-05 20:56:10 -0600
commit14d40859b417eb3575a1004d40cc131b75d26ecb (patch)
treecc8a72b3719198bbe628951926f9cb6edc4fec46
parentreduced rom 34 bytes by merging ramp-up code with ramp-down code (diff)
downloadanduril-14d40859b417eb3575a1004d40cc131b75d26ecb.tar.gz
anduril-14d40859b417eb3575a1004d40cc131b75d26ecb.tar.bz2
anduril-14d40859b417eb3575a1004d40cc131b75d26ecb.zip
made a couple actions use blink_once() instead of blip(), for better consistency
-rw-r--r--spaghetti-monster/anduril/lockout-mode.c2
-rw-r--r--spaghetti-monster/anduril/ramp-mode.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/spaghetti-monster/anduril/lockout-mode.c b/spaghetti-monster/anduril/lockout-mode.c
index 943114d..9414a67 100644
--- a/spaghetti-monster/anduril/lockout-mode.c
+++ b/spaghetti-monster/anduril/lockout-mode.c
@@ -124,7 +124,7 @@ uint8_t lockout_state(Event event, uint16_t arg) {
if (0 == arg) {
autolock_time = 0;
save_config();
- blip();
+ blink_once();
}
return MISCHIEF_MANAGED;
}
diff --git a/spaghetti-monster/anduril/ramp-mode.c b/spaghetti-monster/anduril/ramp-mode.c
index 7ca63cf..6c4b14e 100644
--- a/spaghetti-monster/anduril/ramp-mode.c
+++ b/spaghetti-monster/anduril/ramp-mode.c
@@ -337,14 +337,14 @@ uint8_t steady_state(Event event, uint16_t arg) {
else if (event == EV_5clicks) {
manual_memory = actual_level;
save_config();
- blip();
+ blink_once();
return MISCHIEF_MANAGED;
}
else if (event == EV_click5_hold) {
if (0 == arg) {
manual_memory = 0;
save_config();
- blip();
+ blink_once();
}
return MISCHIEF_MANAGED;
}
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.