Skip to content

Commit

Permalink
fix: fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
pv42 authored and patrickelectric committed Aug 26, 2024
1 parent e481f5f commit e345857
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 e345857

Please sign in to comment.