From d69e03a675bb06c5f0cccb3b9dfe3747d6691560 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Thu, 22 Dec 2022 09:16:57 +0100 Subject: [PATCH] use correct TM ctor --- satrs-example/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/satrs-example/src/main.rs b/satrs-example/src/main.rs index fd3e3bf..51c62ca 100644 --- a/satrs-example/src/main.rs +++ b/satrs-example/src/main.rs @@ -215,7 +215,7 @@ fn main() { println!("ACS thread: Received HK request {:?}", request.0); update_time(&mut time_provider, &mut timestamp); let mut sp_header = - SpHeader::tc(PUS_APID, SequenceFlags::Unsegmented, 0, 0).unwrap(); + SpHeader::tm(PUS_APID, SequenceFlags::Unsegmented, 0, 0).unwrap(); let sec_header = PusTmSecondaryHeader::new_simple( 3, Subservice::TmHkPacket as u8,