12 lines
383 B
C
12 lines
383 B
C
#pragma once
|
|
|
|
#include "esp_err.h"
|
|
#include "freertos/FreeRTOS.h"
|
|
#include "freertos/event_groups.h"
|
|
|
|
/** Mark an OTA image valid after application-level network diagnostics pass. */
|
|
esp_err_t ota_mark_running_app_valid(void);
|
|
|
|
/** Start the periodic HTTPS OTA worker when OTA is configured. */
|
|
esp_err_t ota_start_task(EventGroupHandle_t network_events, EventBits_t connected_bit);
|