diff --git a/apps/plugins/SOURCES b/apps/plugins/SOURCES index 6c5d6f243f..331ab809c3 100644 --- a/apps/plugins/SOURCES +++ b/apps/plugins/SOURCES @@ -18,12 +18,17 @@ viewer.c dict.c #ifdef HAVE_LCD_BITMAP /* Recorder/Ondio models only */ +#ifndef HAVE_LCD_COLOR bejeweled.c +fire.c +plasma.c +solitaire.c +sudoku.c +#endif bounce.c calculator.c chip8.c demystify.c -fire.c flipit.c grayscale.c jpeg.c @@ -31,7 +36,6 @@ mandelbrot.c minesweeper.c oscillograph.c oscilloscope.c -plasma.c pong.c rockblox.c #if (CONFIG_KEYPAD == RECORDER_PAD) && !defined(SIMULATOR) @@ -42,9 +46,7 @@ sliding_puzzle.c snake.c snake2.c sokoban.c -solitaire.c star.c -sudoku.c #if CONFIG_LCD == LCD_SSD1815 video.c #endif diff --git a/firmware/drivers/lcd-16bit.c b/firmware/drivers/lcd-16bit.c index f7ea09ab98..d6ce5dc389 100644 --- a/firmware/drivers/lcd-16bit.c +++ b/firmware/drivers/lcd-16bit.c @@ -95,6 +95,23 @@ static const char scroll_tick_table[16] = { 100, 80, 64, 50, 40, 32, 25, 20, 16, 12, 10, 8, 6, 5, 4, 3 }; +#ifdef IRIVER_H300_SERIES +static void lcd_cmd_data(int cmd, int data) +{ +} + +static void lcd_send_lo(int v) +{ +} + +static void lcd_send_hi(int v) +{ +} + +#define outl(a, v) +#define inl(x) 0 + +#else #define IPOD_PP5020_RTC 0x60005010 #define LCD_DATA 0x10 @@ -156,6 +173,7 @@ static void lcd_cmd_data(int cmd, int data) lcd_send_hi(data & 0xff); } } +#endif /*** hardware configuration ***/