Fixed build issue

This commit is contained in:
Gunnar Skjold
2023-12-10 17:05:09 +01:00
parent 0f22fd561e
commit f3805ad111
2 changed files with 23 additions and 0 deletions

View File

@@ -76,7 +76,11 @@ IPAddress WiFiAccessPointConnectionHandler::getIP() {
}
IPAddress WiFiAccessPointConnectionHandler::getSubnetMask() {
#if defined(ESP32)
return WiFi.softAPSubnetMask();
#else
return IPAddress(255,255,255,0);
#endif
}
IPAddress WiFiAccessPointConnectionHandler::getGateway() {