From f3777ca0d2869234d7c3242849664595c7ee441f Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Mon, 4 Mar 2024 16:25:43 +0100 Subject: [PATCH] some formatting and renaming --- satrs/src/tmtc/ccsds_distrib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/satrs/src/tmtc/ccsds_distrib.rs b/satrs/src/tmtc/ccsds_distrib.rs index b16421a..a0d01b0 100644 --- a/satrs/src/tmtc/ccsds_distrib.rs +++ b/satrs/src/tmtc/ccsds_distrib.rs @@ -170,8 +170,8 @@ impl, E: 'static> ReceivesTcCore } impl, E: 'static> CcsdsDistributor { - pub fn new(apid_handler: PacketHandler) -> Self { - CcsdsDistributor { packet_handler: apid_handler } + pub fn new(packet_handler: PacketHandler) -> Self { + CcsdsDistributor { packet_handler } } pub fn packet_handler(&self) -> &PacketHandler {