From 007a023e8d0954f36035cefeac72e73eda43555b Mon Sep 17 00:00:00 2001 From: thomask Date: Fri, 17 Mar 2017 19:25:59 +0100 Subject: [PATCH] this commit fixes #64 --- examples/ESP8266-OTA/ESP8266-OTA.ino | 1 - 1 file changed, 1 deletion(-) diff --git a/examples/ESP8266-OTA/ESP8266-OTA.ino b/examples/ESP8266-OTA/ESP8266-OTA.ino index d0d92588..a20cfc87 100644 --- a/examples/ESP8266-OTA/ESP8266-OTA.ino +++ b/examples/ESP8266-OTA/ESP8266-OTA.ino @@ -44,7 +44,6 @@ void receive_ota(const MQTT::Publish& pub) { Serial.setDebugOutput(true); if (ESP.updateSketch(*pub.payload_stream(), size, true, false)) { - pub.payload_stream()->stop(); Serial.println("Clearing retained message."); client.publish(MQTT::Publish(pub.topic(), "") .set_retain());