MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / xs_ethernet_start

Function xs_ethernet_start

modules/network/ethernet/esp32/ethernet.c:79–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77#endif
78
79void xs_ethernet_start(xsMachine *the)
80{
81 if (MODDEF_ETHERNET_DEBUG) ESP_LOGI(TAG, LOG_FMT("Starting Ethernet"));
82 esp_err_t err = initEthernet(the);
83 if (err != ESP_OK)
84 xsUnknownError("Ethernet.c Ethernet device not found");
85}
86
87void xs_ethernet_useStaticIP(xsMachine *the)
88{

Callers

nothing calls this directly

Calls 1

initEthernetFunction · 0.70

Tested by

no test coverage detected