forked from M-Labs/artiq
soc/runtime: fix DDS reset
This commit is contained in:
parent
a158b87d9f
commit
800096f9a0
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue