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:
Solomon Peachy 2026-03-06 16:24:13 -05:00
parent a24142b234
commit e8daf314be

View file

@ -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