mirror of
https://github.com/martin-ger/esp_wifi_repeater.git
synced 2026-07-27 19:56:03 +00:00
OTA compile option
This commit is contained in:
@@ -6,6 +6,9 @@
|
||||
// OTA code based on SDK sample from Espressif.
|
||||
//////////////////////////////////////////////////
|
||||
|
||||
#include "user_config.h"
|
||||
#if OTAUPDATE == 1
|
||||
|
||||
#include <c_types.h>
|
||||
#include <user_interface.h>
|
||||
#include <espconn.h>
|
||||
@@ -15,6 +18,7 @@
|
||||
#include "rboot-ota.h"
|
||||
|
||||
#include "config_flash.h"
|
||||
|
||||
extern sysconfig_t config;
|
||||
extern struct espconn *currentconn;
|
||||
|
||||
@@ -382,3 +386,5 @@ bool ICACHE_FLASH_ATTR rboot_ota_start(ota_callback callback) {
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user