mirror of
https://github.com/chirpstack/chirpstack.git
synced 2025-04-03 09:19:11 +00:00
Fix formatting (cargo fmt).
This commit is contained in:
parent
ca7b0a2e61
commit
b2adac5a49
@ -40,7 +40,11 @@ impl UplinkMetadata {
|
||||
let snr = (snr + 20) as u8;
|
||||
let rssi = -(rssi + 15) as u8;
|
||||
|
||||
Ok([self.dr | (snr << 4), (snr >> 4) | (rssi << 1), self.wor_channel])
|
||||
Ok([
|
||||
self.dr | (snr << 4),
|
||||
(snr >> 4) | (rssi << 1),
|
||||
self.wor_channel,
|
||||
])
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user