forked from M-Labs/artiq
runtime: fix onehot selection in ddstest_one
This commit is contained in:
parent
c9236870bd
commit
e0c35cabab
@ -257,6 +257,9 @@ static void ddstest_one(unsigned int i)
|
|||||||
};
|
};
|
||||||
unsigned int f, g, j;
|
unsigned int f, g, j;
|
||||||
|
|
||||||
|
#ifdef DDS_ONEHOT_SEL
|
||||||
|
i = 1 << i;
|
||||||
|
#endif
|
||||||
brg_ddssel(i);
|
brg_ddssel(i);
|
||||||
ddsinit();
|
ddsinit();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user