This commit is contained in:
Ben Meadors
2026-01-15 13:04:12 -06:00
parent fb4486c74b
commit 72acd8f58d
3 changed files with 8 additions and 3 deletions

View File

@@ -1,8 +1,9 @@
#include <esp_ota_ops.h>
#include <sys/types.h>
#pragma once
#ifdef ARCH_ESP32
#include <esp_ota_ops.h>
#endif
#include "ProtobufModule.h"
#include <sys/types.h>
#if HAS_WIFI
#include "mesh/wifi/WiFiAPClient.h"
#endif

View File

@@ -1,7 +1,9 @@
#include "MeshtasticOTA.h"
#include "configuration.h"
#ifdef ARCH_ESP32
#include <Preferences.h>
#include <esp_ota_ops.h>
#endif
namespace MeshtasticOTA
{

View File

@@ -3,7 +3,9 @@
#include "mesh-pb-constants.h"
#include <Arduino.h>
#ifdef ARCH_ESP32
#include <esp_ota_ops.h>
#endif
#define METHOD_OTA_BLE 1
#define METHOD_OTA_WIFI 2