aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster
diff options
context:
space:
mode:
authorSelene ToyKeeper2017-09-28 20:10:09 -0600
committerSelene ToyKeeper2017-09-28 20:10:09 -0600
commit9678f9ea82d44de0ce52184de2ab7ee6fd1b7cb2 (patch)
tree1925cffa476c7b806d0498b9c9efa6c2611108ee /spaghetti-monster
parentAdded reversing to Anduril. Made EV_tick always send 0 while in "hold" state. (diff)
downloadanduril-9678f9ea82d44de0ce52184de2ab7ee6fd1b7cb2.tar.gz
anduril-9678f9ea82d44de0ce52184de2ab7ee6fd1b7cb2.tar.bz2
anduril-9678f9ea82d44de0ce52184de2ab7ee6fd1b7cb2.zip
Make sure hold-from-off ramps up, not down.
Diffstat (limited to 'spaghetti-monster')
-rw-r--r--spaghetti-monster/anduril/anduril.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/spaghetti-monster/anduril/anduril.c b/spaghetti-monster/anduril/anduril.c
index 6e7b0b9..89712fe 100644
--- a/spaghetti-monster/anduril/anduril.c
+++ b/spaghetti-monster/anduril/anduril.c
@@ -248,6 +248,9 @@ uint8_t steady_state(EventPtr event, uint16_t arg) {
target_level = arg;
#endif
set_level(nearest_level(arg));
+ #ifdef USE_REVERSING
+ ramp_direction = 1;
+ #endif
return MISCHIEF_MANAGED;
}
// 1 click: off
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.