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
1 changed files with 3 additions and 0 deletions

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