mirror of
https://github.com/chirpstack/chirpstack.git
synced 2025-01-20 11:28:46 +00:00
Remove bandwidth * 1000 as it is already in Hz.
This fixes the missing per DR stats in the gateway dashboard.
This commit is contained in:
parent
4d000b92e9
commit
091e3b0f97
@ -254,7 +254,7 @@ fn per_modultation_to_per_dr(
|
|||||||
gw::modulation::Parameters::Lora(v) => {
|
gw::modulation::Parameters::Lora(v) => {
|
||||||
lrwn::region::DataRateModulation::Lora(lrwn::region::LoraDataRate {
|
lrwn::region::DataRateModulation::Lora(lrwn::region::LoraDataRate {
|
||||||
spreading_factor: v.spreading_factor as u8,
|
spreading_factor: v.spreading_factor as u8,
|
||||||
bandwidth: v.bandwidth * 1000,
|
bandwidth: v.bandwidth,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
gw::modulation::Parameters::Fsk(v) => {
|
gw::modulation::Parameters::Fsk(v) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user