summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/imx233/creative-zen
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2013-11-19 22:29:31 +0000
committerAmaury Pouly <amaury.pouly@gmail.com>2013-11-19 22:29:31 +0000
commit0fb05249c69cf56d78f5ec2c1d21ad30061cd929 (patch)
tree9941116076fe828c0cc92062684e9a6ca7e00b96 /firmware/target/arm/imx233/creative-zen
parentda7be39614edcc955e1381e6b9ebe402b2c3d9c8 (diff)
downloadrockbox-0fb05249c69cf56d78f5ec2c1d21ad30061cd929.tar.gz
rockbox-0fb05249c69cf56d78f5ec2c1d21ad30061cd929.zip
Fix yellow
Change-Id: I9d283592c6411c97948ae4962e2c22d7ab45bec3
Diffstat (limited to 'firmware/target/arm/imx233/creative-zen')
-rw-r--r--firmware/target/arm/imx233/creative-zen/lcd-zen.c2
-rw-r--r--firmware/target/arm/imx233/creative-zen/powermgmt-zen.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/arm/imx233/creative-zen/lcd-zen.c b/firmware/target/arm/imx233/creative-zen/lcd-zen.c
index 3b58159df4..d4daec87f6 100644
--- a/firmware/target/arm/imx233/creative-zen/lcd-zen.c
+++ b/firmware/target/arm/imx233/creative-zen/lcd-zen.c
@@ -226,6 +226,7 @@ static void lcd_display_off_seq(void)
spi_write_reg(0x10, 0x100);
}
+#ifdef HAVE_LCD_ENABLE
static void lcd_standby_in_seq(void)
{
lcd_display_off_seq();
@@ -238,6 +239,7 @@ static void lcd_standby_out_seq(void)
lcd_power_seq();
lcd_display_on_seq();
}
+#endif
/**
* Rockbox
diff --git a/firmware/target/arm/imx233/creative-zen/powermgmt-zen.c b/firmware/target/arm/imx233/creative-zen/powermgmt-zen.c
index 1e986813f9..da2a62fea6 100644
--- a/firmware/target/arm/imx233/creative-zen/powermgmt-zen.c
+++ b/firmware/target/arm/imx233/creative-zen/powermgmt-zen.c
@@ -22,8 +22,6 @@
#include "powermgmt-target.h"
#include "power-imx233.h"
-#warning FIXME calibrate
-
const unsigned short battery_level_dangerous[BATTERY_TYPES_COUNT] =
{
0