1
0
Fork 0
forked from len0rd/rockbox

Quick fix to make the h300 build work

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7796 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Linus Nielsen Feltzing 2005-11-08 23:32:59 +00:00
parent c9db86ee70
commit d903733809
2 changed files with 24 additions and 4 deletions

View file

@ -18,12 +18,17 @@ viewer.c
dict.c dict.c
#ifdef HAVE_LCD_BITMAP /* Recorder/Ondio models only */ #ifdef HAVE_LCD_BITMAP /* Recorder/Ondio models only */
#ifndef HAVE_LCD_COLOR
bejeweled.c bejeweled.c
fire.c
plasma.c
solitaire.c
sudoku.c
#endif
bounce.c bounce.c
calculator.c calculator.c
chip8.c chip8.c
demystify.c demystify.c
fire.c
flipit.c flipit.c
grayscale.c grayscale.c
jpeg.c jpeg.c
@ -31,7 +36,6 @@ mandelbrot.c
minesweeper.c minesweeper.c
oscillograph.c oscillograph.c
oscilloscope.c oscilloscope.c
plasma.c
pong.c pong.c
rockblox.c rockblox.c
#if (CONFIG_KEYPAD == RECORDER_PAD) && !defined(SIMULATOR) #if (CONFIG_KEYPAD == RECORDER_PAD) && !defined(SIMULATOR)
@ -42,9 +46,7 @@ sliding_puzzle.c
snake.c snake.c
snake2.c snake2.c
sokoban.c sokoban.c
solitaire.c
star.c star.c
sudoku.c
#if CONFIG_LCD == LCD_SSD1815 #if CONFIG_LCD == LCD_SSD1815
video.c video.c
#endif #endif

View file

@ -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 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 IPOD_PP5020_RTC 0x60005010
#define LCD_DATA 0x10 #define LCD_DATA 0x10
@ -156,6 +173,7 @@ static void lcd_cmd_data(int cmd, int data)
lcd_send_hi(data & 0xff); lcd_send_hi(data & 0xff);
} }
} }
#endif
/*** hardware configuration ***/ /*** hardware configuration ***/