summaryrefslogtreecommitdiff
path: root/firmware/target/mips/ingenic_jz47xx
diff options
context:
space:
mode:
authorMarcin Bukat <marcin.bukat@gmail.com>2015-01-12 12:02:24 +0100
committerMarcin Bukat <marcin.bukat@gmail.com>2015-01-12 12:02:24 +0100
commit9ffd9327e339ee9028654000497525b62e826652 (patch)
tree2ec951353c3d5b7c927b97a448a55e8d7e9ae521 /firmware/target/mips/ingenic_jz47xx
parentbbd7d1dba39ab1a89b4cc0c18352e35349e66faa (diff)
downloadrockbox-9ffd9327e339ee9028654000497525b62e826652.tar.gz
rockbox-9ffd9327e339ee9028654000497525b62e826652.zip
Fix red/yellow
Change-Id: Ie01251af2cd843979b5fdefcfa541ba377d13bd7
Diffstat (limited to 'firmware/target/mips/ingenic_jz47xx')
-rw-r--r--firmware/target/mips/ingenic_jz47xx/onda_vx747/sadc-onda_vx747.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/mips/ingenic_jz47xx/onda_vx747/sadc-onda_vx747.c b/firmware/target/mips/ingenic_jz47xx/onda_vx747/sadc-onda_vx747.c
index a810fde704..d06cb28f40 100644
--- a/firmware/target/mips/ingenic_jz47xx/onda_vx747/sadc-onda_vx747.c
+++ b/firmware/target/mips/ingenic_jz47xx/onda_vx747/sadc-onda_vx747.c
@@ -184,7 +184,7 @@ int button_read_device(int *data)
184#if CONFIG_ORIENTATION == SCREEN_LANDSCAPE 184#if CONFIG_ORIENTATION == SCREEN_LANDSCAPE
185 *data = (*data & 0xFFFF) | ((LCD_HEIGHT - (*data >> 16)) << 16); 185 *data = (*data & 0xFFFF) | ((LCD_HEIGHT - (*data >> 16)) << 16);
186#endif 186#endif
187 if( UNLIKELY(!isbacklight_hw_on(true)) ) 187 if( UNLIKELY(!is_backlight_on(true)) )
188 *data = 0; 188 *data = 0;
189 189
190 old_data = *data; 190 old_data = *data;