This commit is contained in:
parent
6a0dbd1d58
commit
1e93bded04
@ -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())),
|
||||
)),
|
||||
})
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user