summaryrefslogtreecommitdiff
path: root/firmware/target/arm/tcc780x
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/tcc780x')
-rw-r--r--firmware/target/arm/tcc780x/cowond2/lcd-cowond2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/arm/tcc780x/cowond2/lcd-cowond2.c b/firmware/target/arm/tcc780x/cowond2/lcd-cowond2.c
index c2800727b9..3f1e2e0312 100644
--- a/firmware/target/arm/tcc780x/cowond2/lcd-cowond2.c
+++ b/firmware/target/arm/tcc780x/cowond2/lcd-cowond2.c
@@ -261,8 +261,8 @@ void lcd_init_device(void)
261 LCDC_CLKDIV = (LCDC_CLKDIV &~ 0xFF00FF) | (1<<16) | 2; /* and this means? */ 261 LCDC_CLKDIV = (LCDC_CLKDIV &~ 0xFF00FF) | (1<<16) | 2; /* and this means? */
262 262
263 /* set and clear various flags - not investigated yet */ 263 /* set and clear various flags - not investigated yet */
264 LCDC_CTRL &~ 0x090006AA; /* clear bits 1,3,5,7,9,10,24,27 */ 264 LCDC_CTRL &= ~(0x090006AA); /* clear bits 1,3,5,7,9,10,24,27 */
265 LCDC_CTRL |= 0x02800144; /* set bits 2,6,8,25,23 */ 265 LCDC_CTRL |= 0x02800144; /* set bits 2,6,8,25,23 */
266 LCDC_CTRL = (LCDC_CTRL &~ 0xF0000) | 0x20000; 266 LCDC_CTRL = (LCDC_CTRL &~ 0xF0000) | 0x20000;
267 LCDC_CTRL = (LCDC_CTRL &~ 0x700000) | 0x700000; 267 LCDC_CTRL = (LCDC_CTRL &~ 0x700000) | 0x700000;
268 268