use correct TM ctor

This commit is contained in:
Robin Müller 2022-12-22 09:16:57 +01:00
parent 27c1a9850c
commit d69e03a675
No known key found for this signature in database
GPG Key ID: 11D4952C8CCEF814

View File

@ -215,7 +215,7 @@ fn main() {
println!("ACS thread: Received HK request {:?}", request.0); println!("ACS thread: Received HK request {:?}", request.0);
update_time(&mut time_provider, &mut timestamp); update_time(&mut time_provider, &mut timestamp);
let mut sp_header = 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( let sec_header = PusTmSecondaryHeader::new_simple(
3, 3,
Subservice::TmHkPacket as u8, Subservice::TmHkPacket as u8,