mirror of
https://github.com/chirpstack/chirpstack.git
synced 2024-12-19 05:07:54 +00:00
lrwn: Fix typo in snr clamp.
This commit is contained in:
parent
4a33f67ed6
commit
f153eb8ca0
@ -2437,7 +2437,7 @@ impl PowerLevel {
|
||||
}
|
||||
|
||||
pub fn to_bytes(&self) -> [u8; 2] {
|
||||
let wor_snr = self.wor_snr.clamp(-12, 11);
|
||||
let wor_snr = self.wor_snr.clamp(-20, 11);
|
||||
let wor_rssi = self.wor_rssi.clamp(-142, -15);
|
||||
|
||||
// Encode values
|
||||
|
Loading…
Reference in New Issue
Block a user