summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)
226 spi_write_reg(0x10, 0x100); 226 spi_write_reg(0x10, 0x100);
227} 227}
228 228
229#ifdef HAVE_LCD_ENABLE
229static void lcd_standby_in_seq(void) 230static void lcd_standby_in_seq(void)
230{ 231{
231 lcd_display_off_seq(); 232 lcd_display_off_seq();
@@ -238,6 +239,7 @@ static void lcd_standby_out_seq(void)
238 lcd_power_seq(); 239 lcd_power_seq();
239 lcd_display_on_seq(); 240 lcd_display_on_seq();
240} 241}
242#endif
241 243
242/** 244/**
243 * Rockbox 245 * 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 @@
22#include "powermgmt-target.h" 22#include "powermgmt-target.h"
23#include "power-imx233.h" 23#include "power-imx233.h"
24 24
25#warning FIXME calibrate
26
27const unsigned short battery_level_dangerous[BATTERY_TYPES_COUNT] = 25const unsigned short battery_level_dangerous[BATTERY_TYPES_COUNT] =
28{ 26{
29 0 27 0