Closed phillipjohnston closed 4 years ago
Since the NetEEPROM library provides default values, there's no reason we shouldn't be able to use the reset server with the default configuration.
This block specifically prevents that:
if(NetEEPROM.netSigIsSet()) { Ethernet.begin(NetEEPROM.readMAC(), NetEEPROM.readIP(), NetEEPROM.readGW(), NetEEPROM.readGW(), NetEEPROM.readSN()); _server->begin(); ETHERNET_DEBUG(Serial.print("Server is at "); Serial.println(Ethernet.localIP()); Serial.print("Gw at "); Serial.println(NetEEPROM.readGW()); Serial.print("Password: "); Serial.println(_path);) }
Since the NetEEPROM library provides default values, there's no reason we shouldn't be able to use the reset server with the default configuration.
This block specifically prevents that: