MCPcopy Create free account
hub / github.com/BruceDevices/firmware / stop

Method stop

src/modules/ethernet/EthernetHelper.cpp:167–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165bool EthernetHelper::is_connected() { return connected; }
166
167void EthernetHelper::stop() {
168 connected = false;
169 if (ethEventId) {
170 Network.removeEvent(ethEventId);
171 ethEventId = 0;
172 }
173 ETH.end();
174 ethSpi = nullptr;
175}
176#endif

Callers 1

client_stopMethod · 0.45

Calls 1

endMethod · 0.45

Tested by

no test coverage detected