mirror of
https://github.com/airgradienthq/arduino.git
synced 2025-07-30 00:47:17 +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) {
|
||||||
@ -161,4 +163,6 @@ OtaHandler::attemptToPerformOta(const esp_http_client_config_t *config) {
|
|||||||
void OtaHandler::cleanupHttp(esp_http_client_handle_t client) {
|
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