Larger update #49

Merged
muellerr merged 41 commits from this-is-complex into main 2023-07-08 15:02:42 +02:00
2 changed files with 10 additions and 3 deletions
Showing only changes of commit 9a40301c0f - Show all commits

View File

@ -1,3 +1,4 @@
use crate::pus::test::PusServiceHandler;
use crate::pus::{
AcceptedTc, PartialPusHandlingError, PusPacketHandlerResult, PusPacketHandlingError,
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,
addr: StoreAddr,
token: VerificationToken<TcStateAccepted>,

View File

@ -109,7 +109,6 @@ pub trait PusServiceHandler {
},
};
}
}
pub struct PusService17TestHandler {
psb: PusServiceBase,