Files
mimiclaw/main/ota/ota_manager.h

13 lines
234 B
C
Raw Normal View History

#pragma once
#include "esp_err.h"
#ifdef CONFIG_MIMI_OTA
esp_err_t ota_update_from_url(const char *url);
#else
static inline esp_err_t ota_update_from_url(const char *url) {
(void)url;
return ESP_ERR_NOT_SUPPORTED;
}
#endif