X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=examples%2Flm3s1968%2Fhw%2Fhw_rit128x96.h;h=5a8de9fc250bc082da5ce28c68c8276cda7e3987;hb=bcf0975ec310e26b8e392c5243c530a63c2a9f72;hp=6e1c933c9f261440af80d75fd2c0c604965c5721;hpb=0797fa39b4027e4da1883be805405ba2de4df111;p=bertos.git diff --git a/examples/lm3s1968/hw/hw_rit128x96.h b/examples/lm3s1968/hw/hw_rit128x96.h index 6e1c933c..5a8de9fc 100644 --- a/examples/lm3s1968/hw/hw_rit128x96.h +++ b/examples/lm3s1968/hw/hw_rit128x96.h @@ -76,14 +76,13 @@ #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)); \ - cpu_relax(); \ } /*@}*/ -INLINE void lcd_bus_init(void) +INLINE void lcd_rit128x96_hw_bus_init(void) { uint32_t dummy;