Fix CI error

This commit is contained in:
samuelbles07
2024-11-30 03:42:45 +07:00
parent 283646a699
commit 3556e4a96a

View File

@ -1,5 +1,7 @@
#include "OtaHandler.h"
#ifndef ESP8266 // Only for esp32 based mcu
void OtaHandler::setHandlerCallback(OtaHandlerCallback_t callback) { _callback = callback; }
void OtaHandler::updateFirmwareIfOutdated(String deviceId) {
@ -161,4 +163,6 @@ OtaHandler::attemptToPerformOta(const esp_http_client_config_t *config) {
void OtaHandler::cleanupHttp(esp_http_client_handle_t client) {
esp_http_client_close(client);
esp_http_client_cleanup(client);
}
}
#endif