forked from M-Labs/artiq
1
0
Fork 0

satman: fix ddma reporting wrong destination

This commit is contained in:
mwojcik 2023-09-22 10:25:37 +08:00
parent af77885dfc
commit 36b3678853
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ fn process_aux_packet(_manager: &mut DmaManager, analyzer: &mut Analyzer, _repea
if let Some(status) = _manager.check_state() { if let Some(status) = _manager.check_state() {
info!("playback done, error: {}, channel: {}, timestamp: {}", status.error, status.channel, status.timestamp); info!("playback done, error: {}, channel: {}, timestamp: {}", status.error, status.channel, status.timestamp);
drtioaux::send(0, &drtioaux::Packet::DmaPlaybackStatus { 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 { } else {
let errors; let errors;
unsafe { unsafe {