Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Nodemcu Firmware
Commits
6f31db5a
Commit
6f31db5a
authored
Sep 01, 2021
by
Johny Mattsson
Browse files
Fix compile issue if ethernet support disabled.
parent
961d996a
Changes
1
Hide whitespace changes
Inline
Side-by-side
components/modules/eth.c
View file @
6f31db5a
// 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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment