Skip to content

Commit

Permalink
fix: fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
pv42 committed Aug 25, 2024
1 parent 614cd28 commit 7459923
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions mavlink-core/src/connection/udp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -161,12 +161,7 @@ impl<M: Message> MavConnection<M> for UdpConnection {
let len = if let Some(addr) = state.dest {
let mut buf = Vec::new();
#[cfg(not(feature = "signing"))]
write_versioned_msg(
&mut buf,
self.protocol_version,
header,
data,
)?;
write_versioned_msg(&mut buf, self.protocol_version, header, data)?;
#[cfg(feature = "signing")]
write_versioned_msg_signed(
&mut buf,
Expand Down

0 comments on commit 7459923

Please sign in to comment.