forked from M-Labs/artiq
1
0
Fork 0

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
1 changed files with 1 additions and 0 deletions

View File

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