Fixing smartair2 protocol implementation if no Wi-Fi (#5238)

This commit is contained in:
Pavlo Dudnytskyi 2023-08-13 23:08:18 +02:00 committed by Jesse Hills
parent 3717e34bba
commit f26238e824
No known key found for this signature in database
GPG Key ID: BEAAE804EFD8E83A

View File

@ -178,7 +178,9 @@ void Smartair2Climate::process_phase(std::chrono::steady_clock::time_point now)
break;
#else
case ProtocolPhases::SENDING_SIGNAL_LEVEL:
case ProtocolPhases::WAITING_SIGNAL_LEVEL_ANSWER this->set_phase(ProtocolPhases::IDLE); break;
case ProtocolPhases::WAITING_SIGNAL_LEVEL_ANSWER:
this->set_phase(ProtocolPhases::IDLE);
break;
#endif
case ProtocolPhases::SENDING_UPDATE_SIGNAL_REQUEST:
case ProtocolPhases::WAITING_UPDATE_SIGNAL_ANSWER: