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:
parent
c9db86ee70
commit
d903733809
2 changed files with 24 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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 ***/
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue