summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/target/arm/samsung/yh925/lcd-yh925.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/samsung/yh925/lcd-yh925.c b/firmware/target/arm/samsung/yh925/lcd-yh925.c
index 6a5e2aa..08ce221 100644
--- a/firmware/target/arm/samsung/yh925/lcd-yh925.c
+++ b/firmware/target/arm/samsung/yh925/lcd-yh925.c
@@ -163,7 +163,7 @@ void lcd_set_invert_display(bool yesno)
void lcd_set_flip(bool flip)
{
int r_drv_output_control;
- if (yesno == (y_offset != 4))
+ if (flip == (y_offset != 4))
return;
/* The LCD controller is 132x160 while the LCD itself is 128x160, so we need
* to shift the origin by 4 when we flip the LCD