diff options
Diffstat (limited to 'firmware/drivers/lcd-recorder.c')
-rw-r--r-- | firmware/drivers/lcd-recorder.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/firmware/drivers/lcd-recorder.c b/firmware/drivers/lcd-recorder.c index 26112e37dd..6665ea88dc 100644 --- a/firmware/drivers/lcd-recorder.c +++ b/firmware/drivers/lcd-recorder.c | |||
@@ -194,6 +194,14 @@ void lcd_set_contrast(int val) | |||
194 | lcd_write(true, val); | 194 | lcd_write(true, val); |
195 | } | 195 | } |
196 | 196 | ||
197 | void lcd_set_invert_display(bool yesno) | ||
198 | { | ||
199 | if (yesno) | ||
200 | lcd_write(true, LCD_SET_REVERSE_DISPLAY); | ||
201 | else | ||
202 | lcd_write(true, LCD_SET_NORMAL_DISPLAY); | ||
203 | } | ||
204 | |||
197 | /** | 205 | /** |
198 | * Rolls up the lcd display by the specified amount of lines. | 206 | * Rolls up the lcd display by the specified amount of lines. |
199 | * Lines that are rolled out over the top of the screen are | 207 | * Lines that are rolled out over the top of the screen are |