syrlinks: go to normal mode immdaitely

This commit is contained in:
Robin Müller 2023-01-26 13:00:03 +01:00
parent 744f689556
commit 915f66f248
No known key found for this signature in database
GPG Key ID: 71B58F8A3CDFA9AC

View File

@ -30,7 +30,8 @@ void SyrlinksHandler::doStartUp() {
}
if(internalState == InternalState::ENABLE_TEMPERATURE_PROTECTION) {
if(commandExecuted) {
setMode(_MODE_TO_ON);
// Got to normal mode immediately.
setMode(_MODE_TO_NORMAL);
internalState = InternalState::IDLE;
commandExecuted = false;
}