Fix and update the template prj.
[bertos.git] / boards / sam3n-ek / templates / kernel / main.c
index c0119e7b884c9379c044b42088cc30e498a7e086..55740793672cf6bd61455fb8928faca897b5e3c4 100644 (file)
@@ -44,7 +44,7 @@
 #include <cfg/debug.h>
 
 #include <cpu/irq.h>
-#include <cpu/arm/drv/spi_dma_at91.h>
+#include <drv/spi_dma.h>
 
 #include <drv/timer.h>
 #include <drv/kbd.h>
@@ -58,7 +58,7 @@ static Bitmap lcd_bitmap;
 /* Raster associated to the Bitmap image */
 static uint8_t raster[RAST_SIZE(LCD_WIDTH, LCD_HEIGHT)];
 /* LCD spi context with DMA access */
-struct SpiDmaAt91 spi;
+struct SpiDma spi;
 
 static void init(void)
 {