diff options
| author | Selene ToyKeeper | 2017-08-25 02:32:43 -0600 |
|---|---|---|
| committer | Selene ToyKeeper | 2017-08-25 02:32:43 -0600 |
| commit | 4052efbf6d7993c6b846105e870b1fcbcdb761e7 (patch) | |
| tree | 8de907ef65d1da3897f11d3e2d79bd42bb7e0918 /spaghetti-monster/ramping-ui.c | |
| parent | Added battcheck mode to ramping-ui. It's bigger than I had hoped. :( (diff) | |
| download | anduril-4052efbf6d7993c6b846105e870b1fcbcdb761e7.tar.gz anduril-4052efbf6d7993c6b846105e870b1fcbcdb761e7.tar.bz2 anduril-4052efbf6d7993c6b846105e870b1fcbcdb761e7.zip | |
Made 4bar and 8bar battcheck styles work.
Added LVP handling for other modes, including battcheck.
Diffstat (limited to 'spaghetti-monster/ramping-ui.c')
| -rw-r--r-- | spaghetti-monster/ramping-ui.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spaghetti-monster/ramping-ui.c b/spaghetti-monster/ramping-ui.c index 0b5bbda..003f3de 100644 --- a/spaghetti-monster/ramping-ui.c +++ b/spaghetti-monster/ramping-ui.c @@ -306,6 +306,10 @@ void low_voltage() { set_state(off_state, 0); } } + // all other modes, just turn off when voltage is low + else { + set_state(off_state, 0); + } } |
