mirror of
https://github.com/thooge/esp32-nmea2000-obp60.git
synced 2026-11-17 13:11:27 +01:00
make sta udp receiver working
This commit is contained in:
1 parent
82f5e17987
commit
4bded7bbb4
2 files changed
+2
-2
No files matched your search
@@ -120,7 +120,7 @@ void GwUdpReader::loop(bool handleRead, bool handleWrite)
|
||||
//only change anything if we considered the station IP
|
||||
String nextStationIp;
|
||||
if (WiFi.isConnected()){
|
||||
String nextStationIp=WiFi.localIP().toString();
|
||||
nextStationIp=WiFi.localIP().toString();
|
||||
}
|
||||
if (setStationAdd(nextStationIp)){
|
||||
LOG_INFO("UDPR: wifi client IP changed, restart");
|
||||
|
||||
Reference in new issue
Block a user