Auto formatting of meshwifi.cpp

This commit is contained in:
Jm Casler 2020-09-18 18:51:42 -07:00
parent 65fc1cf4a6
commit 82fbedbf41

View File

@ -3,8 +3,8 @@
#include "configuration.h" #include "configuration.h"
#include "main.h" #include "main.h"
#include "meshwifi/meshhttp.h" #include "meshwifi/meshhttp.h"
#include <WiFi.h>
#include <DNSServer.h> #include <DNSServer.h>
#include <WiFi.h>
static void WiFiEvent(WiFiEvent_t event); static void WiFiEvent(WiFiEvent_t event);
@ -76,7 +76,6 @@ void initWifi()
dnsServer.start(53, "*", apIP); dnsServer.start(53, "*", apIP);
} else { } else {
WiFi.mode(WIFI_MODE_STA); WiFi.mode(WIFI_MODE_STA);
WiFi.onEvent(WiFiEvent); WiFi.onEvent(WiFiEvent);
@ -189,11 +188,11 @@ static void WiFiEvent(WiFiEvent_t event)
break; break;
default: default:
break; break;
} }
} }
void handleDNSResponse() { void handleDNSResponse()
{
if (radioConfig.preferences.wifi_ap_mode) { if (radioConfig.preferences.wifi_ap_mode) {
dnsServer.processNextRequest(); dnsServer.processNextRequest();
} }