mirror of https://github.com/arendst/Tasmota.git
Revert ESP32S2 ethernet defines
This commit is contained in:
parent
0c96e30783
commit
b6af35767e
|
@ -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
|
||||
|
|
|
@ -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_ */
|
||||
|
|
Loading…
Reference in New Issue