mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
fix standalone building
This commit is contained in:
@@ -158,9 +158,12 @@ class WiFiClass {
|
||||
return 0;
|
||||
};
|
||||
|
||||
void disconnect(bool v){};
|
||||
|
||||
char * getHostname() {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
char * localIP() {
|
||||
return nullptr;
|
||||
}
|
||||
@@ -172,16 +175,23 @@ class ETHClass {
|
||||
return false;
|
||||
};
|
||||
|
||||
void setHostname(const char * s){};
|
||||
void setHostname(const char * s){};
|
||||
|
||||
char * getHostname() {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
char * localIP() {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
int linkSpeed() {
|
||||
return 100;
|
||||
}
|
||||
|
||||
bool config(IPAddress local_ip, IPAddress gateway, IPAddress subnet, IPAddress dns1, IPAddress dns2) {
|
||||
return false;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user