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

runtime: fix rtio channel selection in dds batch

This commit is contained in:
Sebastien Bourdeauducq 2015-05-08 22:09:08 +08:00
parent 55f2fef576
commit b22b8b661b

View File

@ -86,6 +86,7 @@ void dds_batch_exit(void)
if(!batch_mode) if(!batch_mode)
exception_raise(EID_DDS_BATCH_ERROR); exception_raise(EID_DDS_BATCH_ERROR);
rtio_chan_sel_write(RTIO_DDS_CHANNEL);
now = batch_fud_time - batch_count*DURATION_PROGRAM; now = batch_fud_time - batch_count*DURATION_PROGRAM;
for(i=0;i<batch_count;i++) { for(i=0;i<batch_count;i++) {
dds_set_one(now, batch_fud_time, dds_set_one(now, batch_fud_time,