From 042b0065de036737641d7052d9d1e1efa79dcd74 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Thu, 13 Sep 2018 14:10:52 +0800 Subject: [PATCH] runtime: print destination up message for local RTIO --- artiq/firmware/runtime/rtio_mgt.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/artiq/firmware/runtime/rtio_mgt.rs b/artiq/firmware/runtime/rtio_mgt.rs index c6ba76d43..f9df23b38 100644 --- a/artiq/firmware/runtime/rtio_mgt.rs +++ b/artiq/firmware/runtime/rtio_mgt.rs @@ -208,7 +208,10 @@ pub mod drtio { if hop == 0 { /* local RTIO */ - up_destinations[destination] = true; + if !up_destinations[destination] { + info!("[DEST#{}] destination is up", destination); + up_destinations[destination] = true; + } } else if hop as usize <= csr::DRTIO.len() { let linkno = hop - 1; if up_destinations[destination] {