summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSylvain Munaut <tnt@246tNt.com>2011-10-17 15:35:43 +0200
committerHarald Welte <laforge@gnumonks.org>2017-01-15 21:33:56 +0100
commitd6f43365e4802c88c7289f92276f20570581c2dc (patch)
treed4265f2aa99e08c94dc608f485d5fe439af8bc84
parent611c9134d1dc5c5d24929c2ea1b8af7ce19877c7 (diff)
fw: Disable backlight for the sniffing fwlaforge/burst_ind_rebase
No need to waste battery life Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
-rw-r--r--src/target/firmware/board/compal_e86/init.c2
-rwxr-xr-xsrc/target/firmware/board/compal_e88/init.c4
-rw-r--r--src/target/firmware/board/compal_e99/init.c4
-rw-r--r--src/target/firmware/board/gta0x/init.c4
-rw-r--r--src/target/firmware/board/pirelli_dpl10/init.c4
5 files changed, 9 insertions, 9 deletions
diff --git a/src/target/firmware/board/compal_e86/init.c b/src/target/firmware/board/compal_e86/init.c
index ba63245..7ab72f9 100644
--- a/src/target/firmware/board/compal_e86/init.c
+++ b/src/target/firmware/board/compal_e86/init.c
@@ -135,7 +135,7 @@ void board_init(int with_irq)
/* Initialize LCD driver (uses UWire) */
fb_init();
- bl_mode_pwl(1);
+ bl_mode_pwl(0);
bl_level(0);
/* Initialize keypad driver */
diff --git a/src/target/firmware/board/compal_e88/init.c b/src/target/firmware/board/compal_e88/init.c
index 91c1f8d..9fccd6c 100755
--- a/src/target/firmware/board/compal_e88/init.c
+++ b/src/target/firmware/board/compal_e88/init.c
@@ -131,8 +131,8 @@ void board_init(int with_irq)
/* Initialize LCD driver (uses I2C) and backlight */
fb_init();
- bl_mode_pwl(1);
- bl_level(50);
+ bl_mode_pwl(0);
+ //bl_level(50);
/* Initialize keypad driver */
keypad_init(keymap, with_irq);
diff --git a/src/target/firmware/board/compal_e99/init.c b/src/target/firmware/board/compal_e99/init.c
index 829a8ac..c41f967 100644
--- a/src/target/firmware/board/compal_e99/init.c
+++ b/src/target/firmware/board/compal_e99/init.c
@@ -134,8 +134,8 @@ void board_init(int with_irq)
timer_init();
/* Initialize LCD driver (uses UWire) and backlight */
- bl_mode_pwl(1);
- bl_level(50);
+ bl_mode_pwl(0);
+ //bl_level(50);
fb_init();
diff --git a/src/target/firmware/board/gta0x/init.c b/src/target/firmware/board/gta0x/init.c
index 3b424c6..d3a698e 100644
--- a/src/target/firmware/board/gta0x/init.c
+++ b/src/target/firmware/board/gta0x/init.c
@@ -127,8 +127,8 @@ void board_init(int with_irq)
timer_init();
/* Initialize LCD driver (uses I2C) and backlight */
- bl_mode_pwl(1);
- bl_level(50);
+ bl_mode_pwl(0);
+ //bl_level(50);
/* Initialize keypad driver */
keypad_init(keymap, with_irq);
diff --git a/src/target/firmware/board/pirelli_dpl10/init.c b/src/target/firmware/board/pirelli_dpl10/init.c
index 1d1c24b..76885c0 100644
--- a/src/target/firmware/board/pirelli_dpl10/init.c
+++ b/src/target/firmware/board/pirelli_dpl10/init.c
@@ -143,8 +143,8 @@ void board_init(int with_irq)
timer_init();
/* Initialize LCD driver and backlight (0 is max, 255 min brightness) */
- bl_mode_pwl(1);
- bl_level(50);
+ bl_mode_pwl(0);
+ //bl_level(50);
fb_init();