summaryrefslogtreecommitdiff
path: root/firmware/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers')
-rw-r--r--firmware/drivers/lcd-recorder.c8
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)
lcd_write(true, val);
}
+void lcd_set_invert_display(bool yesno)
+{
+ if (yesno)
+ lcd_write(true, LCD_SET_REVERSE_DISPLAY);
+ else
+ lcd_write(true, LCD_SET_NORMAL_DISPLAY);
+}
+
/**
* Rolls up the lcd display by the specified amount of lines.
* Lines that are rolled out over the top of the screen are