diff --git a/soc/runtime/dds.c b/soc/runtime/dds.c index cb4ddce61..8cfeb08ce 100644 --- a/soc/runtime/dds.c +++ b/soc/runtime/dds.c @@ -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);