From 6e8f3aab83189009cafeec1e01b4b5ac1030af76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9as=20HANSS?= Date: Sat, 23 Nov 2024 12:49:57 +0100 Subject: [PATCH] Fix doc --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 100655a..807783a 100644 --- a/README.md +++ b/README.md @@ -41,12 +41,12 @@ const manager = new WiFiConnectionManager( ], (message) => { switch (msg) { - case WiFiConnectionManager.gotIP.connected: + case WiFiConnectionManager.connected: break; // still waiting for IP address - case WiFiConnectionManager.gotIP.gotIP: + case WiFiConnectionManager.gotIP: trace(`IP address ${Net.get("IP")}\n`); break; - case WiFiConnectionManager.gotIP.disconnected: + case WiFiConnectionManager.disconnected: break; // connection lost } }