mirror of
https://github.com/meshtastic/firmware.git
synced 2026-01-16 14:57:41 +00:00
Guards
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
#include "MeshtasticOTA.h"
|
||||
#include "configuration.h"
|
||||
#ifdef ARCH_ESP32
|
||||
#include <Preferences.h>
|
||||
#include <esp_ota_ops.h>
|
||||
#endif
|
||||
|
||||
namespace MeshtasticOTA
|
||||
{
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user