aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster
diff options
context:
space:
mode:
authorSelene ToyKeeper2020-08-05 23:09:41 -0600
committerSelene ToyKeeper2020-08-05 23:09:41 -0600
commit29af0dcea434ff49044e1b4d0b22553b59b10b0e (patch)
treebce150ff0b5afdbbd747d21cbc7819c7049344f0 /spaghetti-monster
parentmoved Simple UI actions from 8C/8H -> 10C/10H... and removed USE_TENCLICK_TH... (diff)
downloadanduril-29af0dcea434ff49044e1b4d0b22553b59b10b0e.tar.gz
anduril-29af0dcea434ff49044e1b4d0b22553b59b10b0e.tar.bz2
anduril-29af0dcea434ff49044e1b4d0b22553b59b10b0e.zip
changed sunset timer unit from 10m to 5m
Diffstat (limited to 'spaghetti-monster')
-rw-r--r--spaghetti-monster/anduril/sunset-timer.c2
-rw-r--r--spaghetti-monster/anduril/sunset-timer.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/spaghetti-monster/anduril/sunset-timer.c b/spaghetti-monster/anduril/sunset-timer.c
index 5a2ba18..635e0ce 100644
--- a/spaghetti-monster/anduril/sunset-timer.c
+++ b/spaghetti-monster/anduril/sunset-timer.c
@@ -43,7 +43,7 @@ uint8_t sunset_timer_state(Event event, uint16_t arg) {
sunset_timer_peak = 3;
}
}
- // 4H: add 10m to timer, per second, until released
+ // 4H: add 5m to timer, per second, until released
else if (event == EV_click4_hold) {
if (0 == (arg % TICKS_PER_SECOND)) {
if (sunset_timer < (255 - SUNSET_TIMER_UNIT)) {
diff --git a/spaghetti-monster/anduril/sunset-timer.h b/spaghetti-monster/anduril/sunset-timer.h
index d197f0e..8f7840c 100644
--- a/spaghetti-monster/anduril/sunset-timer.h
+++ b/spaghetti-monster/anduril/sunset-timer.h
@@ -21,7 +21,7 @@
#define SUNSET_TIMER_H
// how many minutes to add each time the user "bumps" the timer?
-#define SUNSET_TIMER_UNIT 10
+#define SUNSET_TIMER_UNIT 5
#define TICKS_PER_MINUTE (TICKS_PER_SECOND*60)
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.