From 417daf218082b34cfa17c0fa0f984cc45db1859e Mon Sep 17 00:00:00 2001 From: waxgourd-ha <152601480+waxgourd-ha@users.noreply.github.com> Date: Sun, 20 Oct 2024 18:06:11 +0800 Subject: [PATCH] Upgrade hw.cpp and add model wgnetzg Request to add a product model wgnetzg --- src/const/hw.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/const/hw.cpp b/src/const/hw.cpp index d5c5753..3410db5 100644 --- a/src/const/hw.cpp +++ b/src/const/hw.cpp @@ -5,7 +5,7 @@ EthConfig ethConfigs[] = { {.addr = 0, .pwrPin = 12, .mdcPin = 23, .mdiPin = 18, .phyType = ETH_PHY_LAN8720, .clkMode = ETH_CLOCK_GPIO17_OUT}, // .pwrAltPin = -1}, // 0 Olimex-ESP32-POE {.addr = 1, .pwrPin = 16, .mdcPin = 23, .mdiPin = 18, .phyType = ETH_PHY_LAN8720, .clkMode = ETH_CLOCK_GPIO0_IN}, // .pwrAltPin = -1}, // 1 WT32-ETH01 / SLZB-06 - {.addr = 0, .pwrPin = 5, .mdcPin = 23, .mdiPin = 18, .phyType = ETH_PHY_LAN8720, .clkMode = ETH_CLOCK_GPIO17_OUT}, // .pwrAltPin = -1}, // 2 T-Internet-POE / UZG-01 / HamGeek POE Plus + {.addr = 0, .pwrPin = 5, .mdcPin = 23, .mdiPin = 18, .phyType = ETH_PHY_LAN8720, .clkMode = ETH_CLOCK_GPIO17_OUT}, // .pwrAltPin = -1}, // 2 T-Internet-POE / UZG-01 / HamGeek POE Plus / WGNETZG }; // ZigBee configurations @@ -48,4 +48,5 @@ BrdConfigStruct brdConfigs[] = { {"TubesZB-poe-2023", 0, 6, 0}, // 11 {"CZC-1.0", 2, 0, 1}, // 12 {"HG POE Plus", 2, 0, 1}, // 13 -}; \ No newline at end of file + {"WGNETZG", 2, 0, 1}, // 14 +};