Skip to content

Commit f598aa2

Browse files
authored
Update ETH.h
1 parent f801b98 commit f598aa2

File tree

1 file changed

+4
-0
lines changed
  • libraries/Ethernet/src

1 file changed

+4
-0
lines changed

libraries/Ethernet/src/ETH.h

+4
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@
1818
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
1919
*/
2020

21+
#include "sdkconfig.h"
22+
#if CONFIG_ETH_ENABLED
23+
2124
#ifndef _ETH_H_
2225
#define _ETH_H_
2326

@@ -249,3 +252,4 @@ class ETHClass : public NetworkInterface {
249252
extern ETHClass ETH;
250253

251254
#endif /* _ETH_H_ */
255+
#endif /* CONFIG_ETH_ENABLED */

0 commit comments

Comments
 (0)