all tests work again

This commit is contained in:
2025-01-27 15:42:29 +01:00
parent 127d22d445
commit 04663cb5ae
2 changed files with 47 additions and 21 deletions

View File

@ -452,14 +452,15 @@ impl SubsystemCommandingHelper {
mode: Mode,
request_id: RequestId,
) -> Result<(), StartSequenceError> {
self.seq_exec_helper
.load(mode, request_id, &self.sequence_tables)?;
if request_id > 2_u32.pow(24) - 1 {
return Err(StartSequenceError::InvalidRequestId(request_id));
}
self.active_internal_request_id = Some(request_id << 8);
self.seq_exec_helper
.set_request_id(self.active_internal_request_id.unwrap());
self.seq_exec_helper.load(
mode,
self.active_internal_request_id.unwrap(),
&self.sequence_tables,
)?;
self.state = ModeTreeHelperState::ModeCommanding;
Ok(())
}