Closed chrisroos closed 12 years ago
I would've popped this straight into master but wanted to check that this approach, particularly the use of the infinite loop to 'terminate' the process, is valid. If it is valid, then I'm happy to merge this myself and start using terminalError in the case that DHCP fails.
This makes the sketch slightly smaller (saving 16 bytes under Arduino 1.0.1) and is consistent with how we currently terminate when encountering a DHCP error. It'll also make it easier to use
terminalError
in the setup function. Without this change, we would've had to check the systemOK boolean to see whether we could continue with setup.