mirror of
https://gitlab.com/fabinfra/fabhardware/fabreader.git
synced 2025-03-12 14:41:44 +01:00
Fixed: Stop OTA Bug
This commit is contained in:
parent
d0746c4cfb
commit
c93517eec6
@ -68,7 +68,7 @@ void OTAProxy::continueOTA(char* topic, byte* payload, unsigned int length)
|
||||
else if(!strcmp(topic, topic_stopOTA))
|
||||
{
|
||||
Serial.println("Stop OTA");
|
||||
while(!(nfc->disconnectCard()));
|
||||
nfc->disconnectCard();
|
||||
activeOTA = false;
|
||||
}
|
||||
// else if(!strcmp(topic, topic_restartOTA))
|
||||
|
Loading…
x
Reference in New Issue
Block a user