From c61017fbe6420a8048fa960bda2ae90976d616f6 Mon Sep 17 00:00:00 2001 From: MorganTL Date: Tue, 29 Aug 2023 16:51:22 +0800 Subject: [PATCH] fix compiling error when cfg has has_rtio_moninj --- src/satman/src/main.rs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/satman/src/main.rs b/src/satman/src/main.rs index 88b394a..5d14dc7 100644 --- a/src/satman/src/main.rs +++ b/src/satman/src/main.rs @@ -223,8 +223,8 @@ fn process_aux_packet( drtioaux::Packet::MonitorRequest { destination: _destination, - channel: _channel, - probe: _probe, + channel, + probe, } => { forward!(_routing_table, _destination, *_rank, _repeaters, &packet, timer); let value; @@ -244,9 +244,9 @@ fn process_aux_packet( } drtioaux::Packet::InjectionRequest { destination: _destination, - channel: _channel, - overrd: _overrd, - value: _value, + channel, + overrd, + value, } => { forward!(_routing_table, _destination, *_rank, _repeaters, &packet, timer); #[cfg(has_rtio_moninj)] @@ -259,8 +259,8 @@ fn process_aux_packet( } drtioaux::Packet::InjectionStatusRequest { destination: _destination, - channel: _channel, - overrd: _overrd, + channel, + overrd, } => { forward!(_routing_table, _destination, *_rank, _repeaters, &packet, timer); let value;