diff --git a/src/backend/semtech_udp/structs.rs b/src/backend/semtech_udp/structs.rs index 2f6e428..267f2e1 100644 --- a/src/backend/semtech_udp/structs.rs +++ b/src/backend/semtech_udp/structs.rs @@ -485,7 +485,7 @@ impl RxPk { let uplink_id = if cfg!(test) { 123 } else { rng.gen::() }; 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();