diff options
author | Andrew Ryabinin <ryabinin.a.a@gmail.com> | 2012-09-27 22:00:58 +0400 |
---|---|---|
committer | Andrew Ryabinin <ryabinin.a.a@gmail.com> | 2012-09-27 22:00:58 +0400 |
commit | 548dcc3c6a7cb70161c6c7106bba6c1fbaabc35f (patch) | |
tree | 74a9611e1aea04f9d06b633631f52f49fe353c7c /firmware | |
parent | 82d882e1e2870871371463025b9d0483da05707b (diff) |
hm60x/hm801: Fix blinking white screen.
Change-Id: Ia435616872d5d4adb117d507bdb135bccf083b05
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/target/arm/rk27xx/lcd-hifiman.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/target/arm/rk27xx/lcd-hifiman.c b/firmware/target/arm/rk27xx/lcd-hifiman.c index 4ab04f7653..f93adfdcf5 100644 --- a/firmware/target/arm/rk27xx/lcd-hifiman.c +++ b/firmware/target/arm/rk27xx/lcd-hifiman.c @@ -111,6 +111,9 @@ void lcd_v1_display_init(void) static void lcd_v1_enable (bool on) { + if (on == display_on) + return; + lcdctrl_bypass(1); LCDC_CTRL |= RGB24B; |