summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/tcc780x
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/arm/tcc780x
parentbbd7d1dba39ab1a89b4cc0c18352e35349e66faa (diff)
downloadrockbox-9ffd9327e339ee9028654000497525b62e826652.tar.gz
rockbox-9ffd9327e339ee9028654000497525b62e826652.zip
Fix red/yellow
Change-Id: Ie01251af2cd843979b5fdefcfa541ba377d13bd7
Diffstat (limited to 'firmware/target/arm/tcc780x')
-rw-r--r--firmware/target/arm/tcc780x/cowond2/button-cowond2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/tcc780x/cowond2/button-cowond2.c b/firmware/target/arm/tcc780x/cowond2/button-cowond2.c
index 6c8541ef62..df2ea1f307 100644
--- a/firmware/target/arm/tcc780x/cowond2/button-cowond2.c
+++ b/firmware/target/arm/tcc780x/cowond2/button-cowond2.c
@@ -92,7 +92,7 @@ int button_read_device(int *data)
if (!(GPIOA & 0x4))
btn |= BUTTON_POWER;
- if (btn & BUTTON_TOUCHSCREEN && !isbacklight_hw_on(true))
+ if (btn & BUTTON_TOUCHSCREEN && !is_backlight_on(true))
old_data = *data = 0;
return btn;