From 9ffd9327e339ee9028654000497525b62e826652 Mon Sep 17 00:00:00 2001 From: Marcin Bukat Date: Mon, 12 Jan 2015 12:02:24 +0100 Subject: Fix red/yellow Change-Id: Ie01251af2cd843979b5fdefcfa541ba377d13bd7 --- firmware/target/mips/ingenic_jz47xx/onda_vx747/sadc-onda_vx747.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware/target/mips/ingenic_jz47xx/onda_vx747/sadc-onda_vx747.c') 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) #if CONFIG_ORIENTATION == SCREEN_LANDSCAPE *data = (*data & 0xFFFF) | ((LCD_HEIGHT - (*data >> 16)) << 16); #endif - if( UNLIKELY(!isbacklight_hw_on(true)) ) + if( UNLIKELY(!is_backlight_on(true)) ) *data = 0; old_data = *data; -- cgit v1.2.3