projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
armtest: remove deprecated build option -gen-debug.
[bertos.git]
/
examples
/
lm3s1968
/
hw
/
hw_lcd.h
diff --git
a/examples/lm3s1968/hw/hw_lcd.h
b/examples/lm3s1968/hw/hw_lcd.h
index dd2d88d79d6bb45ec8a01ff4e3f7801f6d54b67b..4a6ceb9d163f48a63006c9162b1032c5a6d29494 100644
(file)
--- a/
examples/lm3s1968/hw/hw_lcd.h
+++ b/
examples/lm3s1968/hw/hw_lcd.h
@@
-40,6
+40,7
@@
#include "cfg/macros.h" /* BV() */
#include "cfg/debug.h"
#include "cfg/macros.h" /* BV() */
#include "cfg/debug.h"
+#include "cfg/cfg_lcd.h" /* CONFIG_LCD_4BIT */
#include <cpu/attr.h>
#include <cpu/irq.h>
#include <cpu/attr.h>
#include <cpu/irq.h>
@@
-78,7
+79,7
@@
#define LCD_WRITE(x) lm3s_ssiWriteFrame(SSI0_BASE, x)
/* Read data from the display */
#define LCD_WRITE(x) lm3s_ssiWriteFrame(SSI0_BASE, x)
/* Read data from the display */
-#define LCD_READ
()
\
+#define LCD_READ
\
({ \
uint32_t frame; \
lm3s_ssiReadFrame(SSI0_BASE, &frame); \
({ \
uint32_t frame; \
lm3s_ssiReadFrame(SSI0_BASE, &frame); \