mirror of
https://github.com/chirpstack/chirpstack.git
synced 2025-03-11 15:03:56 +00:00
Fix coding_rate string in test.
The CodeRate type (in Rust) will decode both "1/3" and "2/6" as CodeRate::Cr26. To string, this type is always encoded to "2/6".
This commit is contained in:
parent
d10551bce1
commit
3bfb7d577f
@ -810,7 +810,7 @@ mod tests {
|
|||||||
(
|
(
|
||||||
true,
|
true,
|
||||||
DataRateModulation::LrFhss(LrFhssDataRate {
|
DataRateModulation::LrFhss(LrFhssDataRate {
|
||||||
coding_rate: "1/3".to_string(),
|
coding_rate: "2/6".to_string(),
|
||||||
occupied_channel_width: 137000,
|
occupied_channel_width: 137000,
|
||||||
}),
|
}),
|
||||||
8,
|
8,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user