forked from M-Labs/artiq
1
0
Fork 0

soc/runtime: fix DDS reset

This commit is contained in:
Sebastien Bourdeauducq 2014-09-11 19:25:55 +08:00
parent a158b87d9f
commit 800096f9a0
1 changed files with 1 additions and 2 deletions

View File

@ -19,9 +19,8 @@ void dds_init(void)
{
int i;
DDS_WRITE(DDS_GPIO, 1 << 7);
for(i=0;i<8;i++) {
DDS_WRITE(DDS_GPIO, i | (1 << 7));
DDS_WRITE(DDS_GPIO, i);
DDS_WRITE(0x00, 0x78);
DDS_WRITE(0x01, 0x00);