From 3420268a2c1e84c02c940ad40791f0443c7eadfc Mon Sep 17 00:00:00 2001 From: Dilyn Corner Date: Mon, 21 Nov 2022 19:10:05 -0500 Subject: [PATCH] Remove comments on some variants in ConnectionStatus enum See PR#47, https://github.com/Jim-Hodapp-Coaching/esp32-wroom-rp/pull/47 --- esp32-wroom-rp/src/wifi.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/esp32-wroom-rp/src/wifi.rs b/esp32-wroom-rp/src/wifi.rs index f615c05..e6dfdd5 100644 --- a/esp32-wroom-rp/src/wifi.rs +++ b/esp32-wroom-rp/src/wifi.rs @@ -7,7 +7,7 @@ pub enum ConnectionStatus { /// No device is connected to hardware NoEsp32 = 255, /// Temporary status while attempting to connect to WiFi network - Idle = 0, // Assigned by WiFi.begin() in the Reference Library, is this relevant? + Idle = 0, /// NoActiveSsid, /// WiFi network scan has finished @@ -25,7 +25,7 @@ pub enum ConnectionStatus { /// Device is connected in Access Point mode ApConnected, /// Device failed to make connection in Access Point mode - ApFailed, // Not in the Reference Library + ApFailed, /// Unexpected value returned from device, reset may be required Invalid, }