From 09915e0c0e169d7323c65e8e9f65a58db079ff27 Mon Sep 17 00:00:00 2001 From: technyon Date: Fri, 8 Jul 2022 22:54:48 +0200 Subject: [PATCH] revert device select --- main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.cpp b/main.cpp index 0e2e4e5..1b598f1 100644 --- a/main.cpp +++ b/main.cpp @@ -173,8 +173,8 @@ void setup() restartTs = preferences->getInt(preference_restart_timer) * 60 * 1000; } - const NetworkDeviceType networkDevice = NetworkDeviceType::WiFi; -// const NetworkDeviceType networkDevice = digitalRead(NETWORK_SELECT) == HIGH ? NetworkDeviceType::WiFi : NetworkDeviceType::W5500; +// const NetworkDeviceType networkDevice = NetworkDeviceType::WiFi; + const NetworkDeviceType networkDevice = digitalRead(NETWORK_SELECT) == HIGH ? NetworkDeviceType::WiFi : NetworkDeviceType::W5500; network = new Network(networkDevice, preferences); network->initialize();