API update

This commit is contained in:
2022-12-05 08:53:13 +01:00
parent df670f13df
commit 8a5fae1a95
2 changed files with 2 additions and 2 deletions

View File

@ -148,7 +148,7 @@ impl<E: 'static> ReceivesTc for CcsdsDistributor<E> {
}),
));
}
let sp_header = SpHeader::from_be_bytes(tc_raw).map_err(|e| CcsdsError::PacketError(e))?;
let (sp_header, _) = SpHeader::from_be_bytes(tc_raw).map_err(|e| CcsdsError::PacketError(e))?;
self.dispatch_ccsds(&sp_header, tc_raw)
}
}