mirror of
https://github.com/tinygo-org/drivers.git
synced 2026-07-26 10:38:41 +00:00
wifinina: add 'unknown failure' reason code for AP connect
This commit is contained in:
@@ -263,6 +263,8 @@ func (err hwerr) Error() string {
|
||||
func (w *wifinina) reason() string {
|
||||
reason := w.getReasonCode()
|
||||
switch reason {
|
||||
case 0:
|
||||
return "unknown failure"
|
||||
case 201:
|
||||
return "no AP found"
|
||||
case 202:
|
||||
|
||||
Reference in New Issue
Block a user