mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-23 18:56:38 +00:00
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
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#if CONFIG_IDF_TARGET_ESP32
|
|
||||||
|
|
||||||
#include "ETH.h"
|
#include "ETH.h"
|
||||||
#include "eth_phy/phy.h"
|
#include "eth_phy/phy.h"
|
||||||
#include "eth_phy/phy_tlk110.h"
|
#include "eth_phy/phy_tlk110.h"
|
||||||
@ -304,5 +302,3 @@ String ETHClass::macAddress(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
ETHClass ETH;
|
ETHClass ETH;
|
||||||
|
|
||||||
#endif // CONFIG_IDF_TARGET_ESP32
|
|
||||||
|
@ -21,8 +21,6 @@
|
|||||||
#ifndef _ETH_H_
|
#ifndef _ETH_H_
|
||||||
#define _ETH_H_
|
#define _ETH_H_
|
||||||
|
|
||||||
#if CONFIG_IDF_TARGET_ESP32
|
|
||||||
|
|
||||||
#include "WiFi.h"
|
#include "WiFi.h"
|
||||||
#include "esp_eth.h"
|
#include "esp_eth.h"
|
||||||
|
|
||||||
@ -94,5 +92,4 @@ class ETHClass {
|
|||||||
|
|
||||||
extern ETHClass ETH;
|
extern ETHClass ETH;
|
||||||
|
|
||||||
#endif // CONFIG_IDF_TARGET_ESP32
|
|
||||||
#endif /* _ETH_H_ */
|
#endif /* _ETH_H_ */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user