Bugfix: execute 30ms off time before rejoin

This commit is contained in:
Harald Barth 2023-08-24 10:03:29 +02:00
parent 085762e800
commit 6cd7002e91
1 changed files with 1 additions and 1 deletions

View File

@ -351,7 +351,7 @@ void DCCACK::callback(int value) {
switch (callbackState) {
case AFTER_READ:
if (ackManagerRejoin && autoPowerOff) {
if (ackManagerRejoin && !autoPowerOff) {
progDriver->setPower(POWERMODE::OFF);
callbackStart=millis();
callbackState=WAITING_30;