Init the dmac to use sd or i2s module.
[bertos.git] / boards / sam3x-ek / templates / empty / main.c
index fc0eaae9bee72b358d4a084e1ece4cc35d511208..0b8ac8007ce5c50bebe80c6f2f324daad8c0ed63 100644 (file)
@@ -46,6 +46,7 @@
 
 #include <drv/timer.h>
 #include <drv/lcd_hx8347.h>
+#include <drv/dmac_sam3.h>
 
 static void init(void)
 {
@@ -56,6 +57,7 @@ static void init(void)
        timer_init();
        LED_INIT();
        lcd_hx8347_init();
+       dmac_init();
 }
 
 int main(void)