cowond2: make the code consistent with the comments and really clear the bits
Untested on target git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26832 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
21cbdac55f
commit
a8c073216d
1 changed files with 2 additions and 2 deletions
|
@ -261,8 +261,8 @@ void lcd_init_device(void)
|
|||
LCDC_CLKDIV = (LCDC_CLKDIV &~ 0xFF00FF) | (1<<16) | 2; /* and this means? */
|
||||
|
||||
/* set and clear various flags - not investigated yet */
|
||||
LCDC_CTRL &~ 0x090006AA; /* clear bits 1,3,5,7,9,10,24,27 */
|
||||
LCDC_CTRL |= 0x02800144; /* set bits 2,6,8,25,23 */
|
||||
LCDC_CTRL &= ~(0x090006AA); /* clear bits 1,3,5,7,9,10,24,27 */
|
||||
LCDC_CTRL |= 0x02800144; /* set bits 2,6,8,25,23 */
|
||||
LCDC_CTRL = (LCDC_CTRL &~ 0xF0000) | 0x20000;
|
||||
LCDC_CTRL = (LCDC_CTRL &~ 0x700000) | 0x700000;
|
||||
|
||||
|
|
Loading…
Reference in a new issue