Skip to content

Commit

Permalink
Remove debug messages
Browse files Browse the repository at this point in the history
  • Loading branch information
fredlcore committed Jun 17, 2024
1 parent 5615700 commit d38ff5d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions BSB_LAN/BSB_LAN.ino
Original file line number Diff line number Diff line change
Expand Up @@ -7896,11 +7896,8 @@ void setup() {
}
} else {
if (network_type == LAN) {
Serial.println(1);
if (Ethernet.begin(mac)) { // DHCP
Serial.println(2);
if (!Ethernet.localIP()) {
Serial.println(3);
printToDebug("Waiting for DHCP address");
unsigned long timeout = millis();
while (!Ethernet.localIP() && millis() - timeout < 20000) {
Expand All @@ -7914,8 +7911,6 @@ Serial.println(3);
}
#if defined(ESP32)
if (network_type == LAN && !Ethernet.connected()) {
Serial.println(4);
Serial.println(Ethernet.localIP());
createTemporaryAP();
}
#endif
Expand Down

0 comments on commit d38ff5d

Please sign in to comment.