From a3bab2619ca300511831037df8e6e8f28db5c17d Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Thu, 10 Aug 2023 21:28:27 +0200 Subject: [PATCH] compile fix --- src/cfdp/pdu/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cfdp/pdu/mod.rs b/src/cfdp/pdu/mod.rs index 832e925..c0e1e20 100644 --- a/src/cfdp/pdu/mod.rs +++ b/src/cfdp/pdu/mod.rs @@ -723,7 +723,7 @@ mod tests { let dest_id = UnsignedByteFieldU8::new(2); let transaction_id = UnsignedByteFieldU8::new(3); let mut common_pdu_cfg = - CommonPduConfig::new_with_defaults(src_id, dest_id, transaction_id) + CommonPduConfig::new_with_byte_fields(src_id, dest_id, transaction_id) .expect("common config creation failed"); let other_src_id = UnsignedByteFieldU16::new(5); let other_dest_id = UnsignedByteFieldU16::new(6);