mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 20:55:17 -05:00
S5L8700/Meizu: miscellaneous minor fixes, stubs added, keywords set
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21820 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
c133c6a964
commit
92fed35da6
7 changed files with 57 additions and 27 deletions
|
|
@ -72,7 +72,7 @@ static void lcd_sleep(uint32_t t)
|
|||
for(i=0;i<t;++i);
|
||||
}
|
||||
|
||||
static uint8_t lcd_readdata()
|
||||
static uint8_t lcd_readdata(void)
|
||||
{
|
||||
LCD_RDATA = 0;
|
||||
lcd_sleep(64);
|
||||
|
|
@ -87,7 +87,7 @@ static void lcd_writereg(uint32_t reg, uint32_t data)
|
|||
LCD_WDATA = data & 0xff;
|
||||
}
|
||||
|
||||
void lcd_on() {
|
||||
void lcd_on(void) {
|
||||
if (lcd_type == 1) {
|
||||
LCD_WCMD = 0x29;
|
||||
} else {
|
||||
|
|
@ -101,7 +101,7 @@ void lcd_on() {
|
|||
}
|
||||
}
|
||||
|
||||
void lcd_off() {
|
||||
void lcd_off(void) {
|
||||
/* FIXME wait for DMA to finnish */
|
||||
if (lcd_type == 1) {
|
||||
LCD_WCMD = 0x28;
|
||||
|
|
@ -303,3 +303,11 @@ void lcd_update_rect(int x, int y, int width, int height)
|
|||
{
|
||||
lcd_update();
|
||||
}
|
||||
|
||||
void lcd_blit_yuv(unsigned char * const src[3],
|
||||
int src_x, int src_y, int stride,
|
||||
int x, int y, int width, int height)
|
||||
{
|
||||
/* stub */
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue