fix tests
Some checks failed
Rust/sat-rs/pipeline/pr-main There was a failure building this commit

This commit is contained in:
Robin Müller 2024-03-25 17:41:30 +01:00
parent 6a0dbd1d58
commit 1e93bded04
Signed by: muellerr
GPG Key ID: A649FB78196E3849

View File

@ -921,7 +921,7 @@ pub mod std_mod {
}
impl EcssChannel for CrossbeamTcReceiver {
fn channel_id(&self) -> ComponentId {
fn id(&self) -> ComponentId {
self.id
}
@ -935,7 +935,7 @@ pub mod std_mod {
self.receiver.try_recv().map_err(|e| match e {
cb::TryRecvError::Empty => TryRecvTmtcError::Empty,
cb::TryRecvError::Disconnected => TryRecvTmtcError::Tmtc(EcssTmtcError::from(
GenericReceiveError::TxDisconnected(Some(self.channel_id())),
GenericReceiveError::TxDisconnected(Some(self.id())),
)),
})
}