projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Comply the demo project to new spi dma interface.
[bertos.git]
/
boards
/
sam3n-ek
/
examples
/
display
/
main.c
diff --git
a/boards/sam3n-ek/examples/display/main.c
b/boards/sam3n-ek/examples/display/main.c
index caa70930e3a4d24d0c69f8eac3181819b67d464f..260ada0fa590c8a803d2e4886d652a627cad5374 100644
(file)
--- a/
boards/sam3n-ek/examples/display/main.c
+++ b/
boards/sam3n-ek/examples/display/main.c
@@
-48,7
+48,7
@@
#include <drv/kbd.h>
#include <drv/lcd_ili9225.h>
#include <drv/kbd.h>
#include <drv/lcd_ili9225.h>
-#include <
cpu/arm/drv/spi_dma_at91
.h>
+#include <
drv/spi_dma
.h>
#include <gfx/gfx.h>
#include <gfx/font.h>
#include <gfx/gfx.h>
#include <gfx/font.h>
@@
-79,7
+79,7
@@
static PROC_DEFINE_STACK(led_stack, PROC_STACK_SIZE);
#endif
static PROC_DEFINE_STACK(led_stack, PROC_STACK_SIZE);
#endif
-struct SpiDma
At91
spi;
+struct SpiDma spi;
static uint8_t raster[RAST_SIZE(LCD_WIDTH, LCD_HEIGHT)];
static Bitmap lcd_bitmap;
extern Font font_gohu;
static uint8_t raster[RAST_SIZE(LCD_WIDTH, LCD_HEIGHT)];
static Bitmap lcd_bitmap;
extern Font font_gohu;