Larger update #49
@ -1,3 +1,4 @@
|
|||||||
|
use crate::pus::test::PusServiceHandler;
|
||||||
use crate::pus::{
|
use crate::pus::{
|
||||||
AcceptedTc, PartialPusHandlingError, PusPacketHandlerResult, PusPacketHandlingError,
|
AcceptedTc, PartialPusHandlingError, PusPacketHandlerResult, PusPacketHandlingError,
|
||||||
PusServiceBase,
|
PusServiceBase,
|
||||||
@ -55,7 +56,14 @@ impl PusService11SchedHandler {
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
pub fn handle_one_tc(
|
}
|
||||||
|
|
||||||
|
impl PusServiceHandler for PusService11SchedHandler {
|
||||||
|
fn psb(&mut self) -> &mut PusServiceBase {
|
||||||
|
&mut self.psb
|
||||||
|
}
|
||||||
|
|
||||||
|
fn handle_one_tc(
|
||||||
&mut self,
|
&mut self,
|
||||||
addr: StoreAddr,
|
addr: StoreAddr,
|
||||||
token: VerificationToken<TcStateAccepted>,
|
token: VerificationToken<TcStateAccepted>,
|
||||||
|
@ -109,7 +109,6 @@ pub trait PusServiceHandler {
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
pub struct PusService17TestHandler {
|
pub struct PusService17TestHandler {
|
||||||
psb: PusServiceBase,
|
psb: PusServiceBase,
|
||||||
@ -217,4 +216,4 @@ impl PusServiceHandler for PusService17TestHandler {
|
|||||||
}
|
}
|
||||||
Ok(PusPacketHandlerResult::CustomSubservice(token))
|
Ok(PusPacketHandlerResult::CustomSubservice(token))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user