Revert ESP32S2 ethernet defines

This commit is contained in:
Theo Arends 2021-02-03 10:51:59 +01:00
parent 0c96e30783
commit b6af35767e
2 changed files with 0 additions and 7 deletions

View File

@ -18,8 +18,6 @@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#if CONFIG_IDF_TARGET_ESP32
#include "ETH.h"
#include "eth_phy/phy.h"
#include "eth_phy/phy_tlk110.h"
@ -304,5 +302,3 @@ String ETHClass::macAddress(void)
}
ETHClass ETH;
#endif // CONFIG_IDF_TARGET_ESP32

View File

@ -21,8 +21,6 @@
#ifndef _ETH_H_
#define _ETH_H_
#if CONFIG_IDF_TARGET_ESP32
#include "WiFi.h"
#include "esp_eth.h"
@ -94,5 +92,4 @@ class ETHClass {
extern ETHClass ETH;
#endif // CONFIG_IDF_TARGET_ESP32
#endif /* _ETH_H_ */