mirror of https://github.com/m-labs/artiq.git
runtime: fix rtio channel selection in dds batch
This commit is contained in:
parent
55f2fef576
commit
b22b8b661b
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue