V4 target: enable warning for variable shadoing
* pio.ini: add "-Wshadow=compatible-local" for V4 targets * pio.ini: fix alignment for 8266 build_flags * fix one (harmless) case of shadowed vars in MM specific code
This commit is contained in:
@@ -958,10 +958,10 @@ void WLED::initInterfaces()
|
||||
#endif
|
||||
#endif
|
||||
} else {
|
||||
IPAddress ipAddress = Network.localIP();
|
||||
netDebugPrintIP[0] = ipAddress[0];
|
||||
netDebugPrintIP[1] = ipAddress[1];
|
||||
netDebugPrintIP[2] = ipAddress[2];
|
||||
IPAddress ndIpAddress = Network.localIP();
|
||||
netDebugPrintIP[0] = ndIpAddress[0];
|
||||
netDebugPrintIP[1] = ndIpAddress[1];
|
||||
netDebugPrintIP[2] = ndIpAddress[2];
|
||||
}
|
||||
}
|
||||
if (netDebugPrintPort == 0)
|
||||
|
||||
Reference in New Issue
Block a user