Skip to content

Commit

Permalink
Fix compiler warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
brocaar committed Sep 5, 2023
1 parent 85349de commit c6dc9a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/semtech_udp/structs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ impl RxPk {
let uplink_id = if cfg!(test) { 123 } else { rng.gen::<u32>() };

let mut pl = pl.clone();
let mut rx_info = pl.rx_info.as_mut().unwrap();
let rx_info = pl.rx_info.as_mut().unwrap();
rx_info.uplink_id = uplink_id;

rx_info.antenna = rs.ant.into();
Expand Down

0 comments on commit c6dc9a3

Please sign in to comment.