v0.9.313b

This commit is contained in:
e2002
2024-11-16 19:10:46 +03:00
parent afe9d57f2b
commit 778dd1e847
15 changed files with 59 additions and 38 deletions

View File

@@ -13,7 +13,7 @@
enum n_Status_e { CONNECTED, SOFT_AP, FAILED, SDREADY };
class Network {
class MyNetwork {
public:
n_Status_e status;
struct tm timeinfo;
@@ -24,7 +24,7 @@ class Network {
char *weatherBuf;
bool trueWeather;
public:
Network() {};
MyNetwork() {};
void begin();
void requestTimeSync(bool withTelnetOutput=false, uint8_t clientId=0);
void requestWeatherSync();
@@ -37,7 +37,7 @@ class Network {
static void WiFiReconnected(WiFiEvent_t event, WiFiEventInfo_t info);
};
extern Network network;
extern MyNetwork network;
extern __attribute__((weak)) void network_on_connect();