From 2821a60786aa1b409e91461a3cb7d819181f5fe0 Mon Sep 17 00:00:00 2001 From: Dilyn Corner Date: Tue, 22 Nov 2022 15:27:49 -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 d0d3c4c..2fa581f 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, /// No SSID is available 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, }