style: apply consistent code formatting and spacing
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
#pragma once
|
||||
#include "Config.h"
|
||||
|
||||
#include <Arduino.h>
|
||||
#include <WiFi.h>
|
||||
#include <WiFiMulti.h>
|
||||
#include <WiFiClientSecure.h>
|
||||
#include <HTTPClient.h>
|
||||
#include <NTPClient.h>
|
||||
#include <WiFi.h>
|
||||
#include <WiFiClientSecure.h>
|
||||
#include <WiFiMulti.h>
|
||||
#include <WiFiUdp.h>
|
||||
#include "Config.h"
|
||||
|
||||
class NetManager {
|
||||
public:
|
||||
@@ -16,9 +17,9 @@ public:
|
||||
|
||||
String getSSID();
|
||||
String getIP();
|
||||
int getRSSI();
|
||||
int getRSSI();
|
||||
|
||||
bool syncNTP();
|
||||
bool syncNTP();
|
||||
String getTimeStr();
|
||||
|
||||
bool dnsCheck(const char* host);
|
||||
@@ -30,8 +31,8 @@ public:
|
||||
int httpPost(const char* url, const String& body);
|
||||
|
||||
private:
|
||||
WiFiMulti _multi;
|
||||
WiFiUDP _udp;
|
||||
NTPClient* _ntp = nullptr;
|
||||
bool _ntpReady = false;
|
||||
WiFiMulti _multi;
|
||||
WiFiUDP _udp;
|
||||
NTPClient* _ntp = nullptr;
|
||||
bool _ntpReady = false;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user