mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-22 02:32:23 +00:00
Make wifi optional and exclude from nrf52 builds
This commit is contained in:
@@ -1,13 +1,15 @@
|
||||
#pragma once
|
||||
|
||||
#include "configuration.h"
|
||||
#include <Arduino.h>
|
||||
#include <functional>
|
||||
|
||||
#ifdef HAS_WIFI
|
||||
#include <WiFi.h>
|
||||
#endif
|
||||
|
||||
void initWifi();
|
||||
|
||||
void deinitWifi();
|
||||
|
||||
void WiFiEvent(WiFiEvent_t event);
|
||||
|
||||
bool isWifiAvailable();
|
||||
Reference in New Issue
Block a user