- SimpleBMS template fix (thanks to @Kamsta99)

This commit is contained in:
Michael Balzer 2019-10-07 15:14:24 +02:00
parent 3432e8cc1b
commit 71ef5387d4

View file

@ -104,7 +104,7 @@ void bmsEnterState(TwizyState currentState, TwizyState newState) {
//
void bmsTicker(unsigned int clockCnt) {
if (twizy.inState(Off) && (clockCnt % 100 == 0)) {
if (!twizy.inState(Off) && (clockCnt % 100 == 0)) {
// per second:
Serial.println(F("\nbmsTicker:"));