fix: use float64 to parse output power
This commit is contained in:
parent
33e16c8615
commit
83288967e3
|
@ -120,7 +120,7 @@ type Configuration struct {
|
||||||
Lora struct {
|
Lora struct {
|
||||||
AirRate float64 `json:"air_rate,omitempty"`
|
AirRate float64 `json:"air_rate,omitempty"`
|
||||||
Frequency int `json:"frequency,omitempty"`
|
Frequency int `json:"frequency,omitempty"`
|
||||||
OutputPower int `json:"output_power,omitempty"`
|
OutputPower float64 `json:"output_power,omitempty"`
|
||||||
SendPositionToBase bool `json:"send_position_to_base,omitempty"`
|
SendPositionToBase bool `json:"send_position_to_base,omitempty"`
|
||||||
} `json:"lora,omitempty"`
|
} `json:"lora,omitempty"`
|
||||||
Ntripcli struct {
|
Ntripcli struct {
|
||||||
|
|
Loading…
Reference in New Issue