projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove not needed edit checks.
[bertos.git]
/
examples
/
lm3s1968
/
hw
/
hw_rit128x96.h
diff --git
a/examples/lm3s1968/hw/hw_rit128x96.h
b/examples/lm3s1968/hw/hw_rit128x96.h
index 6e1c933c9f261440af80d75fd2c0c604965c5721..7ccdeb1d4b59565687c3c2a87364dc28e012203d 100644
(file)
--- a/
examples/lm3s1968/hw/hw_rit128x96.h
+++ b/
examples/lm3s1968/hw/hw_rit128x96.h
@@
-76,10
+76,9
@@
#define LCD_WRITE(x) \
{ \
uint32_t _x; \
#define LCD_WRITE(x) \
{ \
uint32_t _x; \
-
lm3s_ssiWriteFrame(SSI0_BASE, x);
\
+
while (!lm3s_ssiWriteFrameNonBlocking(SSI0_BASE, x));
\
/* Dummy read to drain the FIFO */ \
while (!lm3s_ssiReadFrameNonBlocking(SSI0_BASE, &_x)); \
/* Dummy read to drain the FIFO */ \
while (!lm3s_ssiReadFrameNonBlocking(SSI0_BASE, &_x)); \
- cpu_relax(); \
}
/*@}*/
}
/*@}*/
@@
-120,4
+119,10
@@
INLINE void lcd_bus_init(void)
while (lm3s_ssiReadFrameNonBlocking(SSI0_BASE, &dummy));
}
while (lm3s_ssiReadFrameNonBlocking(SSI0_BASE, &dummy));
}
+/*
+ * XXX: menu stuff requires lcd_blitBimap() function to be defined.
+ * Find a better way to do this.
+ */
+#define rit128x96_blitBitmap lcd_blitBitmap
+
#endif /* HW_RIT128x96_H */
#endif /* HW_RIT128x96_H */