Fix unmarshalling of tx_power

This commit is contained in:
Paul Tyng
2021-03-21 21:34:29 -04:00
parent a3d437ef8e
commit 4702e34c81
3 changed files with 3 additions and 1 deletions

View File

@@ -302,6 +302,7 @@ func (dst *DeviceRadioTable) UnmarshalJSON(b []byte) error {
Maxsta emptyStringInt `json:"maxsta"`
MinRssi emptyStringInt `json:"min_rssi"`
SensLevel emptyStringInt `json:"sens_level"`
TxPower numberOrString `json:"tx_power"`
*Alias
}{