Fixed: Stop OTA Bug

This commit is contained in:
TheJoKlLa 2022-11-04 16:59:33 +01:00
parent d0746c4cfb
commit c93517eec6

View File

@ -68,7 +68,7 @@ void OTAProxy::continueOTA(char* topic, byte* payload, unsigned int length)
else if(!strcmp(topic, topic_stopOTA)) else if(!strcmp(topic, topic_stopOTA))
{ {
Serial.println("Stop OTA"); Serial.println("Stop OTA");
while(!(nfc->disconnectCard())); nfc->disconnectCard();
activeOTA = false; activeOTA = false;
} }
// else if(!strcmp(topic, topic_restartOTA)) // else if(!strcmp(topic, topic_restartOTA))