mirror of
https://github.com/dexterbg/Twizy-Virtual-BMS.git
synced 2024-11-18 12:33:57 +00:00
- SimpleBMS template fix (thanks to @Kamsta99)
This commit is contained in:
parent
3432e8cc1b
commit
71ef5387d4
1 changed files with 1 additions and 1 deletions
|
@ -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:"));
|
||||
|
||||
|
|
Loading…
Reference in a new issue