bump spacepackets again
This commit is contained in:
parent
5c968cf39a
commit
20327d14c0
@ -56,7 +56,7 @@ optional = true
|
||||
# version = "0.5.2"
|
||||
# path = "../spacepackets"
|
||||
git = "https://egit.irs.uni-stuttgart.de/rust/spacepackets.git"
|
||||
rev = "cfa5f8099c95389628440a1611766e3b178fcdb3"
|
||||
rev = "7aa3432f167d3b5d888a4aa0606780188d74f567"
|
||||
|
||||
default-features = false
|
||||
|
||||
|
@ -7,7 +7,7 @@ default-run = "satrs-example"
|
||||
|
||||
[dependencies]
|
||||
crossbeam-channel = "0.5"
|
||||
delegate = "0.8"
|
||||
delegate = "0.9"
|
||||
zerocopy = "0.6"
|
||||
csv = "1"
|
||||
|
||||
|
@ -190,13 +190,14 @@ impl PusReceiver {
|
||||
.send(RequestWithToken(Request::HkRequest(request), token))
|
||||
.unwrap_or_else(|_| panic!("Sending HK request {request:?} failed"));
|
||||
};
|
||||
if PusPacket::subservice(pus_tc) == hk::Subservice::TcEnableGeneration as u8 {
|
||||
if PusPacket::subservice(pus_tc) == hk::Subservice::TcEnableHkGeneration as u8 {
|
||||
send_request(HkRequest::Enable(addressable_id));
|
||||
} else if PusPacket::subservice(pus_tc) == hk::Subservice::TcDisableGeneration as u8 {
|
||||
} else if PusPacket::subservice(pus_tc) == hk::Subservice::TcDisableHkGeneration as u8 {
|
||||
send_request(HkRequest::Disable(addressable_id));
|
||||
} else if PusPacket::subservice(pus_tc) == hk::Subservice::TcGenerateOneShotHk as u8 {
|
||||
send_request(HkRequest::OneShot(addressable_id));
|
||||
} else if PusPacket::subservice(pus_tc) == hk::Subservice::TcModifyCollectionInterval as u8
|
||||
} else if PusPacket::subservice(pus_tc)
|
||||
== hk::Subservice::TcModifyHkCollectionInterval as u8
|
||||
{
|
||||
if user_data.len() < 12 {
|
||||
self.update_time_stamp();
|
||||
|
Loading…
x
Reference in New Issue
Block a user