diff options
author | Marcin Bukat <marcin.bukat@gmail.com> | 2015-01-12 12:02:24 +0100 |
---|---|---|
committer | Marcin Bukat <marcin.bukat@gmail.com> | 2015-01-12 12:02:24 +0100 |
commit | 9ffd9327e339ee9028654000497525b62e826652 (patch) | |
tree | 2ec951353c3d5b7c927b97a448a55e8d7e9ae521 /firmware/target/arm/tcc780x/cowond2/button-cowond2.c | |
parent | bbd7d1dba39ab1a89b4cc0c18352e35349e66faa (diff) | |
download | rockbox-9ffd9327e339ee9028654000497525b62e826652.tar.gz rockbox-9ffd9327e339ee9028654000497525b62e826652.zip |
Fix red/yellow
Change-Id: Ie01251af2cd843979b5fdefcfa541ba377d13bd7
Diffstat (limited to 'firmware/target/arm/tcc780x/cowond2/button-cowond2.c')
-rw-r--r-- | firmware/target/arm/tcc780x/cowond2/button-cowond2.c | 2 |
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) | |||
92 | if (!(GPIOA & 0x4)) | 92 | if (!(GPIOA & 0x4)) |
93 | btn |= BUTTON_POWER; | 93 | btn |= BUTTON_POWER; |
94 | 94 | ||
95 | if (btn & BUTTON_TOUCHSCREEN && !isbacklight_hw_on(true)) | 95 | if (btn & BUTTON_TOUCHSCREEN && !is_backlight_on(true)) |
96 | old_data = *data = 0; | 96 | old_data = *data = 0; |
97 | 97 | ||
98 | return btn; | 98 | return btn; |