We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09e2bb4 commit 2325fe0Copy full SHA for 2325fe0
examples/httpclient/main.go
@@ -11,6 +11,7 @@ import (
11
"image/color"
12
"io"
13
"machine"
14
+ "strconv"
15
"time"
16
17
"tinygo.org/x/tinyfont/proggy"
@@ -176,7 +177,7 @@ func connectToAP() {
176
177
message("Connecting to " + ssid)
178
adaptor.SetPassphrase(ssid, pass)
179
for st, _ := adaptor.GetConnectionStatus(); st != wifinina.StatusConnected; {
- message("Connection status: " + st.String())
180
+ message("Connection status: " + strconv.Itoa(int(st)))
181
time.Sleep(1 * time.Second)
182
st, _ = adaptor.GetConnectionStatus()
183
}
0 commit comments