diff --git a/artiq/runtime/dds.c b/artiq/runtime/dds.c index b9b07bde7..56f9425e5 100644 --- a/artiq/runtime/dds.c +++ b/artiq/runtime/dds.c @@ -192,6 +192,7 @@ void dds_batch_exit(void) if(!batch_mode) artiq_raise_from_c("DDSBatchError", "DDS batch error", 0, 0, 0); + batch_mode = 0; /* + FUD time */ now = batch_ref_time - batch_count*(DURATION_PROGRAM + DURATION_WRITE); for(i=0;i