mirror of
https://github.com/airgradienthq/arduino.git
synced 2025-07-31 01:17:16 +02:00
Fix CI error
This commit is contained in:
@ -1,5 +1,7 @@
|
|||||||
#include "OtaHandler.h"
|
#include "OtaHandler.h"
|
||||||
|
|
||||||
|
#ifndef ESP8266 // Only for esp32 based mcu
|
||||||
|
|
||||||
void OtaHandler::setHandlerCallback(OtaHandlerCallback_t callback) { _callback = callback; }
|
void OtaHandler::setHandlerCallback(OtaHandlerCallback_t callback) { _callback = callback; }
|
||||||
|
|
||||||
void OtaHandler::updateFirmwareIfOutdated(String deviceId) {
|
void OtaHandler::updateFirmwareIfOutdated(String deviceId) {
|
||||||
@ -162,3 +164,5 @@ void OtaHandler::cleanupHttp(esp_http_client_handle_t client) {
|
|||||||
esp_http_client_close(client);
|
esp_http_client_close(client);
|
||||||
esp_http_client_cleanup(client);
|
esp_http_client_cleanup(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
Reference in New Issue
Block a user