From 36b3678853e2a5667d1a458b11f5f176be39d933 Mon Sep 17 00:00:00 2001 From: mwojcik Date: Fri, 22 Sep 2023 10:25:37 +0800 Subject: [PATCH] satman: fix ddma reporting wrong destination --- artiq/firmware/satman/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/firmware/satman/main.rs b/artiq/firmware/satman/main.rs index 8226cbc33..c524483fc 100644 --- a/artiq/firmware/satman/main.rs +++ b/artiq/firmware/satman/main.rs @@ -113,7 +113,7 @@ fn process_aux_packet(_manager: &mut DmaManager, analyzer: &mut Analyzer, _repea if let Some(status) = _manager.check_state() { info!("playback done, error: {}, channel: {}, timestamp: {}", status.error, status.channel, status.timestamp); drtioaux::send(0, &drtioaux::Packet::DmaPlaybackStatus { - destination: *_rank, id: status.id, error: status.error, channel: status.channel, timestamp: status.timestamp })?; + destination: _destination, id: status.id, error: status.error, channel: status.channel, timestamp: status.timestamp })?; } else { let errors; unsafe {