smaller updates
This commit is contained in:
@@ -6,7 +6,7 @@ use core::time::Duration;
|
||||
use embassy_stm32::gpio::Output;
|
||||
use spacepackets::{
|
||||
ccsds_packet_len_for_user_data_len_with_checksum, CcsdsPacketCreationError,
|
||||
CcsdsPacketCreatorWithReservedData, PacketId, PacketSequenceControl, SpacePacketHeader,
|
||||
CcsdsPacketCreatorWithReservedData, SpacePacketHeader,
|
||||
};
|
||||
|
||||
pub const APID: u11 = u11::new(0x02);
|
||||
@@ -46,15 +46,9 @@ pub enum Request {
|
||||
ChangeBlinkFrequency(Duration),
|
||||
}
|
||||
|
||||
#[derive(Debug, defmt::Format, serde::Serialize, serde::Deserialize)]
|
||||
pub struct CcsdsPacketId {
|
||||
pub packet_id: PacketId,
|
||||
pub psc: PacketSequenceControl,
|
||||
}
|
||||
|
||||
#[derive(Debug, defmt::Format, serde::Serialize, serde::Deserialize)]
|
||||
pub struct TmHeader {
|
||||
pub tc_packet_id: Option<CcsdsPacketId>,
|
||||
pub tc_packet_id: Option<spacepackets::CcsdsPacketId>,
|
||||
pub uptime_millis: u32,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user