Skip to content

Commit 9734322

Browse files
cleaning code
1 parent 0809792 commit 9734322

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

libraries/lwIpWrapper/src/CNetIf.cpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
// TODO hostname should be defined at network stack level and shared among ifaces
77
// TODO buffer management (allocation/deallocation/trim/etc.) should be properly handled by a wrapper class and be transparent wrt the user
88
// TODO the device could be moving and as a consequence it may be nice to rescan APs to get one with the best rssi
9-
// TODO implement setLowPowerMode and resetLowPowerMode in WIFI driver
109
// TODO implement stop softAP and include it in the destructor of the class
1110
// TODO split netif definition in different files
1211
// TODO implement WIFINetworkDriver that is then being used by both Wifi station and softAP. This will allow to use both at the same time
@@ -412,9 +411,9 @@ void CNetIf::dhcpNotUsed() {
412411
}
413412

414413
bool CNetIf::isDhcpAcquired() {
415-
if(dhcp_acquired) {
416-
Serial.println(ip_2_ip4(ni.ip_addr).addr, HEX);
417-
}
414+
// if(dhcp_acquired) {
415+
// Serial.println(ip_2_ip4(ni.ip_addr).addr, HEX);
416+
// }
418417
return dhcp_acquired;
419418
}
420419

0 commit comments

Comments
 (0)