add Error impls for tmtc Error enums

This commit is contained in:
2023-01-27 00:25:51 +01:00
parent 40120dc83f
commit 4f7a0785f1
3 changed files with 48 additions and 4 deletions

View File

@ -222,7 +222,7 @@ fn poll_tc_server(udp_tmtc_server: &mut UdpTmtcServer) -> bool {
Ok(_) => true,
Err(e) => match e {
ReceiveResult::ReceiverError(e) => match e {
CcsdsError::PacketError(e) => {
CcsdsError::ByteConversionError(e) => {
println!("Got packet error: {e:?}");
true
}