From 4052efbf6d7993c6b846105e870b1fcbcdb761e7 Mon Sep 17 00:00:00 2001 From: Selene ToyKeeper Date: Fri, 25 Aug 2017 02:32:43 -0600 Subject: Made 4bar and 8bar battcheck styles work. Added LVP handling for other modes, including battcheck. --- spaghetti-monster/ramping-ui.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'spaghetti-monster/ramping-ui.c') 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); + } } -- cgit v1.2.3