rit128x96: add distinct configuration and hardware definition files.
[bertos.git] / bertos / drv / lcd_rit128x96.c
index 7e538327f2a008aed1b2875e5e1ab9a65ae2d732..dc98055a68ddf0351abbc603ba450b119bdfbd12 100644 (file)
@@ -107,16 +107,9 @@ static void lcd_dataWrite(const uint8_t *buf, size_t count)
 {
        while (count--)
        {
-#if !CONFIG_LCD_4BIT
                LCD_WRITE(*buf++);
                /* Dummy read to drain the FIFO */
                (void)LCD_READ;
-#else
-               LCD_WRITE_H(*buf);
-               LCD_WRITE_L(*buf++);
-               (void)LCD_READ_H;
-               (void)LCD_READ_L;
-#endif
        }
 }