added ability to upload new firmware from the browser.

This commit is contained in:
Sebastien
2020-02-14 13:33:50 -05:00
parent 69120bb4de
commit 8c3a52d40c
16 changed files with 432 additions and 351 deletions

View File

@@ -66,6 +66,7 @@ Contains the freeRTOS task and all necessary support
#include "globdefs.h"
#ifndef RECOVERY_APPLICATION
#pragma warning "Defaulting to squeezelite build"
#define RECOVERY_APPLICATION 0
#endif
@@ -1470,7 +1471,7 @@ void wifi_manager( void * pvParameters ){
break;
case ORDER_RESTART_OTA_URL:
ESP_LOGD(TAG, "Calling start_ota.");
start_ota(msg.param);
start_ota(msg.param, NULL, 0);
free(msg.param);
break;