diff options
Diffstat (limited to 'firmware/target/arm/samsung/yh925/lcd-yh925.c')
-rw-r--r-- | firmware/target/arm/samsung/yh925/lcd-yh925.c | 2 |
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 6a5e2aa3a0..08ce22129a 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) | |||
163 | void lcd_set_flip(bool flip) | 163 | void lcd_set_flip(bool flip) |
164 | { | 164 | { |
165 | int r_drv_output_control; | 165 | int r_drv_output_control; |
166 | if (yesno == (y_offset != 4)) | 166 | if (flip == (y_offset != 4)) |
167 | return; | 167 | return; |
168 | /* The LCD controller is 132x160 while the LCD itself is 128x160, so we need | 168 | /* The LCD controller is 132x160 while the LCD itself is 128x160, so we need |
169 | * to shift the origin by 4 when we flip the LCD | 169 | * to shift the origin by 4 when we flip the LCD |