From 7459923daeaf4bd6fa3a1502a67bc3d9ea053ade Mon Sep 17 00:00:00 2001 From: pv42 Date: Mon, 26 Aug 2024 00:06:04 +0200 Subject: [PATCH] fix: fmt --- mavlink-core/src/connection/udp.rs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/mavlink-core/src/connection/udp.rs b/mavlink-core/src/connection/udp.rs index 6a4c75defe..75e5be3c48 100644 --- a/mavlink-core/src/connection/udp.rs +++ b/mavlink-core/src/connection/udp.rs @@ -161,12 +161,7 @@ impl MavConnection 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,