diff options
Diffstat (limited to 'firmware/target/arm/tcc780x')
-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; |