diff options
Diffstat (limited to 'firmware/target/arm/samsung')
-rw-r--r-- | firmware/target/arm/samsung/yh920/lcd-yh920.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/firmware/target/arm/samsung/yh920/lcd-yh920.c b/firmware/target/arm/samsung/yh920/lcd-yh920.c index 5563c13f53..06aa3d718d 100644 --- a/firmware/target/arm/samsung/yh920/lcd-yh920.c +++ b/firmware/target/arm/samsung/yh920/lcd-yh920.c | |||
@@ -106,17 +106,17 @@ void lcd_set_invert_display(bool yesno) | |||
106 | /* turn the display upside down (call lcd_update() afterwards) */ | 106 | /* turn the display upside down (call lcd_update() afterwards) */ |
107 | void lcd_set_flip(bool yesno) | 107 | void lcd_set_flip(bool yesno) |
108 | { | 108 | { |
109 | if (yesno) | 109 | if (yesno) |
110 | { | 110 | { |
111 | lcd_send_cmd(LCD_CNTL_COLUMN_ADDRESS_DIR | 1); | 111 | lcd_send_cmd(LCD_CNTL_COLUMN_ADDRESS_DIR | 1); |
112 | lcd_send_cmd(LCD_CNTL_COMMON_OUTPUT_STATUS | 0); | 112 | lcd_send_cmd(LCD_CNTL_COMMON_OUTPUT_STATUS | 1); |
113 | lcd_write_reg_ex(LCD_CNTL_DUTY_SET, 0x20, 0); | 113 | lcd_write_reg_ex(LCD_CNTL_DUTY_SET, 0x1f, 1); |
114 | } | 114 | } |
115 | else | 115 | else |
116 | { | 116 | { |
117 | lcd_send_cmd(LCD_CNTL_COLUMN_ADDRESS_DIR | 0); | 117 | lcd_send_cmd(LCD_CNTL_COLUMN_ADDRESS_DIR | 0); |
118 | lcd_send_cmd(LCD_CNTL_COMMON_OUTPUT_STATUS | 1); | 118 | lcd_send_cmd(LCD_CNTL_COMMON_OUTPUT_STATUS | 0); |
119 | lcd_write_reg_ex(LCD_CNTL_DUTY_SET, 0x20, 1); | 119 | lcd_write_reg_ex(LCD_CNTL_DUTY_SET, 0x1f, 0); |
120 | } | 120 | } |
121 | } | 121 | } |
122 | 122 | ||