change stp_priority to numberOrString

This commit is contained in:
Paul Tyng
2022-10-31 15:48:42 -04:00
parent 2f6ecf5ab8
commit 6de33139b5
3 changed files with 5 additions and 4 deletions

View File

@@ -331,8 +331,7 @@ func main() {
case "X", "Y":
f.FieldType = "float64"
case "StpPriority":
f.FieldType = "string"
f.CustomUnmarshalType = ""
f.CustomUnmarshalType = "numberOrString"
case "Ht":
f.FieldType = "int"
case "Channel", "BackupChannel", "TxPower":