Updated ota server, split html
This commit is contained in:
@ -21,7 +21,7 @@ const char *ssid = CONFIG_WIFI_SSID;
|
|||||||
const char *password = CONFIG_WIFI_PASSWORD;
|
const char *password = CONFIG_WIFI_PASSWORD;
|
||||||
|
|
||||||
// Application version
|
// Application version
|
||||||
#define APP_VERSION "1.0.0"
|
#define APP_VERSION "1.0.1"
|
||||||
|
|
||||||
// LED colors and timing
|
// LED colors and timing
|
||||||
typedef struct {
|
typedef struct {
|
||||||
@ -40,7 +40,7 @@ static const color_t colors[] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#define NUM_COLORS (sizeof(colors) / sizeof(colors[0]))
|
#define NUM_COLORS (sizeof(colors) / sizeof(colors[0]))
|
||||||
#define BLINK_DELAY_MS 500
|
#define BLINK_DELAY_MS 200
|
||||||
|
|
||||||
// WiFi event handler
|
// WiFi event handler
|
||||||
static void wifi_event_handler(wifi_state_t state)
|
static void wifi_event_handler(wifi_state_t state)
|
||||||
|
|||||||
Reference in New Issue
Block a user