summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSylvain Munaut <tnt@246tNt.com>2011-10-17 15:35:43 +0200
committerSylvain Munaut <tnt@246tNt.com>2011-11-13 20:26:22 +0100
commit44649961dd678ce5b1bb8fd8e59719acd9052d2e (patch)
tree2a5242db8e0a0258a3fb3a929e4c1dc94ea62ca3
parentee3017725dd31979b836f240cc2534f795aa1d6b (diff)
fw: Disable backlight for the sniffing fw
No need to waste battery life Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
-rw-r--r--src/target/firmware/board/compal_e86/init.c3
-rw-r--r--src/target/firmware/board/compal_e88/init.c3
-rw-r--r--src/target/firmware/board/compal_e99/init.c3
-rw-r--r--src/target/firmware/board/gta0x/init.c3
-rw-r--r--src/target/firmware/board/pirelli_dpl10/init.c3
5 files changed, 5 insertions, 10 deletions
diff --git a/src/target/firmware/board/compal_e86/init.c b/src/target/firmware/board/compal_e86/init.c
index 85499f1..5e9ac1b 100644
--- a/src/target/firmware/board/compal_e86/init.c
+++ b/src/target/firmware/board/compal_e86/init.c
@@ -129,8 +129,7 @@ void board_init(void)
/* Initialize LCD driver (uses UWire) */
display = &td014_display;
display_init();
- bl_mode_pwl(1);
- bl_level(0);
+ bl_mode_pwl(0);
/* Initialize keypad driver */
keypad_init(1);
diff --git a/src/target/firmware/board/compal_e88/init.c b/src/target/firmware/board/compal_e88/init.c
index 2b33f34..6039566 100644
--- a/src/target/firmware/board/compal_e88/init.c
+++ b/src/target/firmware/board/compal_e88/init.c
@@ -125,8 +125,7 @@ void board_init(void)
/* Initialize LCD driver (uses I2C) and backlight */
display = &st7558_display;
display_init();
- bl_mode_pwl(1);
- bl_level(50);
+ bl_mode_pwl(0);
/* Initialize keypad driver */
keypad_init(1);
diff --git a/src/target/firmware/board/compal_e99/init.c b/src/target/firmware/board/compal_e99/init.c
index 6c9f847..6b77f62 100644
--- a/src/target/firmware/board/compal_e99/init.c
+++ b/src/target/firmware/board/compal_e99/init.c
@@ -129,8 +129,7 @@ void board_init(void)
/* Initialize LCD driver (uses UWire) and backlight */
display = &ssd1783_display;
display_init();
- bl_mode_pwl(1);
- bl_level(50);
+ bl_mode_pwl(0);
/* Initialize keypad driver */
keypad_init(1);
diff --git a/src/target/firmware/board/gta0x/init.c b/src/target/firmware/board/gta0x/init.c
index f332a7a..b65b9f6 100644
--- a/src/target/firmware/board/gta0x/init.c
+++ b/src/target/firmware/board/gta0x/init.c
@@ -125,8 +125,7 @@ void board_init(void)
/* Initialize LCD driver (uses I2C) and backlight */
display = &st7558_display;
display_init();
- bl_mode_pwl(1);
- bl_level(50);
+ bl_mode_pwl(0);
/* Initialize keypad driver */
keypad_init(1);
diff --git a/src/target/firmware/board/pirelli_dpl10/init.c b/src/target/firmware/board/pirelli_dpl10/init.c
index af9a1e2..467a76d 100644
--- a/src/target/firmware/board/pirelli_dpl10/init.c
+++ b/src/target/firmware/board/pirelli_dpl10/init.c
@@ -113,8 +113,7 @@ void board_init(void)
/* Initialize LCD driver (uses I2C) and backlight */
display = &st7558_display;
display_init();
- bl_mode_pwl(1);
- bl_level(0);
+ bl_mode_pwl(0);
/* Initialize keypad driver */
keypad_init(1);