mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-04-11 16:37:45 -04:00
mrobe500: fix yellow in a24142b234
LCD_FUDGE is now defined in the cpu header, as it's needed for memory layouts. Change-Id: I3a91581286cb7765f8217da34c6c87c15e74b399
This commit is contained in:
parent
a24142b234
commit
e8daf314be
1 changed files with 3 additions and 3 deletions
|
|
@ -118,17 +118,17 @@ void lcd_enable_composite(bool enable)
|
|||
{
|
||||
IO_GIO_BITCLR2 = 0x80;
|
||||
vidtemp |= 0x2015;
|
||||
IO_VID_ENC_DCLKCTL = 0x0800;
|
||||
IO_VID_ENC_DCLKCTL = 0x0800;
|
||||
IO_VID_ENC_DCLKPTN0 = 0x0001;
|
||||
}
|
||||
|
||||
|
||||
IO_VID_ENC_VMOD = vidtemp;
|
||||
}
|
||||
|
||||
/* Note this is expecting a screen size of 480x640 or 240x320, other screen
|
||||
* sizes need to be considered for fudge factors
|
||||
*/
|
||||
#define LCD_FUDGE LCD_NATIVE_WIDTH%32
|
||||
//#define LCD_FUDGE LCD_NATIVE_WIDTH%32
|
||||
|
||||
/* LCD init - based on code from ingenient-bsp/bootloader/board/dm320/splash.c
|
||||
* and code by Catalin Patulea from the M:Robe 500i linux port
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue