Skip to content
Snippets Groups Projects
Commit eccbdba8 authored by fxk8y's avatar fxk8y :spider:
Browse files

clear retained ota message

parent 751093da
No related branches found
No related tags found
Loading
......@@ -85,6 +85,7 @@ void default_ota_event(ota_event_t event) {
}
case success:
ESP_LOGI(TAG, "OTA Successful");
publish_message(OTA_FIRMWARE_TOPIC, ""); // clear retained
break;
case error:
ESP_LOGW(TAG, "OTA Error 0x%x", event.error);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment