From 3d43bc8b1539f9fe1e1d411f2029a7c1deffc259 Mon Sep 17 00:00:00 2001 From: morgan Date: Thu, 31 Aug 2023 10:26:55 +0800 Subject: [PATCH] fix compilation error when cfg has has_rtio_moninj --- src/satman/src/main.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/satman/src/main.rs b/src/satman/src/main.rs index fe97a90..ae69efc 100644 --- a/src/satman/src/main.rs +++ b/src/satman/src/main.rs @@ -206,7 +206,7 @@ fn process_aux_packet(_repeaters: &mut [repeater::Repeater], drtioaux::send(0, &drtioaux::Packet::RoutingAck) } - drtioaux::Packet::MonitorRequest { destination: _destination, channel: _channel, probe: _probe } => { + drtioaux::Packet::MonitorRequest { destination: _destination, channel, probe } => { forward!(_routing_table, _destination, *_rank, _repeaters, &packet, timer); let value; #[cfg(has_rtio_moninj)] @@ -223,8 +223,8 @@ fn process_aux_packet(_repeaters: &mut [repeater::Repeater], let reply = drtioaux::Packet::MonitorReply { value: value }; drtioaux::send(0, &reply) }, - drtioaux::Packet::InjectionRequest { destination: _destination, channel: _channel, - overrd: _overrd, value: _value } => { + drtioaux::Packet::InjectionRequest { destination: _destination, channel, + overrd, value } => { forward!(_routing_table, _destination, *_rank, _repeaters, &packet, timer); #[cfg(has_rtio_moninj)] unsafe { @@ -235,7 +235,7 @@ fn process_aux_packet(_repeaters: &mut [repeater::Repeater], Ok(()) }, drtioaux::Packet::InjectionStatusRequest { destination: _destination, - channel: _channel, overrd: _overrd } => { + channel, overrd } => { forward!(_routing_table, _destination, *_rank, _repeaters, &packet, timer); let value; #[cfg(has_rtio_moninj)]