Commit 6f31db5a authored by Johny Mattsson's avatar Johny Mattsson
Browse files

Fix compile issue if ethernet support disabled.

parent 961d996a
// When this isn't enabled, the esp_eth.h header isn't available
#ifdef CONFIG_ETH_ENABLED
#include <string.h>
#include "module.h"
......@@ -290,3 +292,4 @@ LROT_BEGIN(eth, NULL, 0)
LROT_END(eth, NULL, 0)
NODEMCU_MODULE(ETH, "eth", eth, NULL);
#endif
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment