#pragma once #ifndef SERVEROTA_H #define SERVEROTA_H #include #include #include void register_server_ota_sdcard_uri(httpd_handle_t server); void CheckOTAUpdate(); void doReboot(); void hard_restart(); void CheckUpdate(); static bool ota_update_task(std::string fn); #endif //SERVEROTA_H