mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-25 11:18:27 +08:00
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;
|
||||
|
||||
#ifdef DDS_ONEHOT_SEL
|
||||
i = 1 << i;
|
||||
#endif
|
||||
brg_ddssel(i);
|
||||
ddsinit();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user