summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/imx233/sansa-fuzeplus/lcd-fuzeplus.c
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2013-01-12 19:06:24 +0000
committerAmaury Pouly <amaury.pouly@gmail.com>2013-01-12 19:06:24 +0000
commitc8d36bb994f126e5dfa3a2cc22a05be94d5499e7 (patch)
tree83e89a359017fd2563c198588008b9da124e8961 /firmware/target/arm/imx233/sansa-fuzeplus/lcd-fuzeplus.c
parent5e7bd97e041b16cda86e762b7dc947f86a7d8176 (diff)
downloadrockbox-c8d36bb994f126e5dfa3a2cc22a05be94d5499e7.tar.gz
rockbox-c8d36bb994f126e5dfa3a2cc22a05be94d5499e7.zip
fuze+: lcd code cleanup
The lcd kind is always set to st7783 in case we can't read the ID so don't bother handling impossible cases Change-Id: I352fd43b26068b460e69190d37c4cd4627e1db9a
Diffstat (limited to 'firmware/target/arm/imx233/sansa-fuzeplus/lcd-fuzeplus.c')
-rw-r--r--firmware/target/arm/imx233/sansa-fuzeplus/lcd-fuzeplus.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/firmware/target/arm/imx233/sansa-fuzeplus/lcd-fuzeplus.c b/firmware/target/arm/imx233/sansa-fuzeplus/lcd-fuzeplus.c
index 8f0efdf671..46480f5b01 100644
--- a/firmware/target/arm/imx233/sansa-fuzeplus/lcd-fuzeplus.c
+++ b/firmware/target/arm/imx233/sansa-fuzeplus/lcd-fuzeplus.c
@@ -51,8 +51,7 @@ static enum lcd_kind_t
{
LCD_KIND_7783 = 0x7783,
LCD_KIND_9325 = 0x9325,
- LCD_KIND_OTHER = 0,
-} lcd_kind = LCD_KIND_OTHER;
+} lcd_kind = LCD_KIND_7783;
static void setup_parameters(void)
{
@@ -516,7 +515,6 @@ void lcd_enable(bool enable)
{
case LCD_KIND_7783: lcd_enable_7783(enable); break;
case LCD_KIND_9325: lcd_enable_9325(enable); break;
- default: lcd_enable_7783(enable); break;
}
if(!enable)
common_lcd_enable(false);