From 836a9baf659ea31947c14729222f9cde8d152f55 Mon Sep 17 00:00:00 2001 From: technyon Date: Sun, 7 Jul 2024 14:09:48 +0200 Subject: [PATCH] restore enum --- src/networkDevices/EthLan8720Device.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/networkDevices/EthLan8720Device.h b/src/networkDevices/EthLan8720Device.h index 7e2e178..edff988 100644 --- a/src/networkDevices/EthLan8720Device.h +++ b/src/networkDevices/EthLan8720Device.h @@ -2,11 +2,11 @@ #if (ESP_IDF_VERSION > ESP_IDF_VERSION_VAL(5, 0, 0)) #ifndef CONFIG_IDF_TARGET_ESP32 -// typedef enum { -// ETH_CLOCK_GPIO0_IN = 0, -// ETH_CLOCK_GPIO16_OUT = 2, -// ETH_CLOCK_GPIO17_OUT = 3 -// } eth_clock_mode_t; + typedef enum { + ETH_CLOCK_GPIO0_IN = 0, + ETH_CLOCK_GPIO16_OUT = 2, + ETH_CLOCK_GPIO17_OUT = 3 + } eth_clock_mode_t; #define ETH_PHY_TYPE ETH_PHY_MAX #else