espat,wifinina,rtl8720dn: change ssid/pass from const to var

This commit is contained in:
sago35
2022-09-23 12:01:57 +09:00
committed by Ron Evans
parent 4061adf6db
commit 5af2512901
25 changed files with 134 additions and 116 deletions
+6 -6
View File
@@ -15,16 +15,16 @@ import (
// You can override the setting with the init() in another source code.
// func init() {
// ssid = "your-ssid"
// password = "your-password"
// pass = "your-password"
// url = "http://tinygo.org/"
// debug = true
// }
var (
ssid string
password string
url = "http://tinygo.org/"
debug = false
ssid string
pass string
url = "http://tinygo.org/"
debug = false
)
var buf [0x400]byte
@@ -45,7 +45,7 @@ func run() error {
http.UseDriver(adaptor)
http.SetBuf(buf[:])
err := adaptor.ConnectToAccessPoint(ssid, password, 10*time.Second)
err := adaptor.ConnectToAccessPoint(ssid, pass, 10*time.Second)
if err != nil {
return err
}