summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorAndrew Ryabinin <ryabinin.a.a@gmail.com>2012-09-27 22:00:58 +0400
committerAndrew Ryabinin <ryabinin.a.a@gmail.com>2012-09-27 22:00:58 +0400
commit548dcc3c6a7cb70161c6c7106bba6c1fbaabc35f (patch)
tree74a9611e1aea04f9d06b633631f52f49fe353c7c /firmware
parent82d882e1e2870871371463025b9d0483da05707b (diff)
hm60x/hm801: Fix blinking white screen.
Change-Id: Ia435616872d5d4adb117d507bdb135bccf083b05
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/arm/rk27xx/lcd-hifiman.c3
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;