2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-26 03:38:25 +08:00

satman: fix ddma reporting wrong destination

This commit is contained in:
mwojcik 2023-09-22 10:25:37 +08:00
parent af77885dfc
commit 36b3678853

View File

@ -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 {