A Pen by Christian Gawron on CodePen.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static void handle_ota(esp_mqtt_event_handle_t event, char *path[], int numComponents) | |
{ | |
esp_err_t err; | |
static esp_ota_handle_t update_handle = 0; | |
if (numComponents < 3) | |
{ | |
ESP_LOGW(TAG, "too few components"); | |
return; | |
} |
NewerOlder