Print out the encryption type as integer when it's not known
This commit is contained in:
parent
e6b229bf7d
commit
fd8befd35a
1 changed files with 3 additions and 1 deletions
|
|
@ -105,7 +105,9 @@ void printEncryptionType(int thisType) {
|
|||
break;
|
||||
case ENC_TYPE_UNKNOWN:
|
||||
default:
|
||||
Serial.println("Unknown");
|
||||
Serial.print("Unknown (");
|
||||
Serial.print(WiFi.encryptionType(thisNet));
|
||||
Serial.println(")");
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue