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:
Orne Brocaar 2022-07-25 10:25:21 +01:00
parent d10551bce1
commit 3bfb7d577f

View File

@ -810,7 +810,7 @@ mod tests {
(
true,
DataRateModulation::LrFhss(LrFhssDataRate {
coding_rate: "1/3".to_string(),
coding_rate: "2/6".to_string(),
occupied_channel_width: 137000,
}),
8,