main: moved the setup of the ethernet out of doSNTP
This caused the ethernet interface to be instantiated every time this function ran, creating a hang as mbed only allows 2 instances by default. |
---|
|
src/main.cpp |
---|