Moved index.html from SPIFFS to program memory. Removed dependencies to SPIFFS. Also, we can use a different partition scheme with much more program space instead of reserving some of it for SPIFFS.
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
extern uint16_t spiffs_version;
|
||||
void wifi_connect();
|
||||
|
||||
extern const uint8_t file_index_html_start[] asm("_binary_src_index_html_start");
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
class Updater {
|
||||
public:
|
||||
static void run(uint16_t spiffs_version = 0);
|
||||
static void run();
|
||||
static bool do_update(int cmd, String url, String expected_md5);
|
||||
static bool read_line(String* dst, HTTPClientWrapper* http, String expected_key);
|
||||
};
|
||||
|
Reference in New Issue
Block a user