fix: use float64 to parse output power

This commit is contained in:
wpetit 2024-08-08 13:35:03 +02:00
parent 33e16c8615
commit 83288967e3

View File

@ -120,7 +120,7 @@ type Configuration struct {
Lora struct {
AirRate float64 `json:"air_rate,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"`
} `json:"lora,omitempty"`
Ntripcli struct {