aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster
diff options
context:
space:
mode:
Diffstat (limited to 'spaghetti-monster')
-rw-r--r--spaghetti-monster/fsm-events.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/spaghetti-monster/fsm-events.h b/spaghetti-monster/fsm-events.h
index 074b459..453ad0b 100644
--- a/spaghetti-monster/fsm-events.h
+++ b/spaghetti-monster/fsm-events.h
@@ -46,8 +46,12 @@ uint8_t current_event[EV_MAX_LEN];
static volatile uint16_t ticks_since_last_event = 0;
// timeout durations in ticks (each tick 1/60th s)
+#ifndef HOLD_TIMEOUT
#define HOLD_TIMEOUT 24
+#endif
+#ifndef RELEASE_TIMEOUT
#define RELEASE_TIMEOUT 24
+#endif
#define A_ENTER_STATE 1
#define A_LEAVE_STATE 2
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.