Skip to content

Commit

Permalink
Fix doc
Browse files Browse the repository at this point in the history
  • Loading branch information
ScreamZ committed Nov 23, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 5aee1a5 commit 6e8f3aa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -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
}
}

0 comments on commit 6e8f3aa

Please sign in to comment.