Fix formatting (cargo fmt).
Some checks are pending
CI / tests (postgres) (push) Waiting to run
CI / tests (sqlite) (push) Waiting to run
CI / dist (postgres) (push) Blocked by required conditions
CI / dist (sqlite) (push) Blocked by required conditions

This commit is contained in:
Orne Brocaar 2025-03-25 13:13:41 +00:00
parent ca7b0a2e61
commit b2adac5a49

View File

@ -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,
])
}
}