2
0
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:
Sebastien Bourdeauducq 2015-08-22 09:56:40 +08:00
parent c9236870bd
commit e0c35cabab

View File

@ -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();