diff options
| author | Björn Stenberg <bjorn@haxx.se> | 2003-02-27 14:22:30 +0000 |
|---|---|---|
| committer | Björn Stenberg <bjorn@haxx.se> | 2003-02-27 14:22:30 +0000 |
| commit | b1079200d34b197a9ea0ec649168b0a307ee9517 (patch) | |
| tree | f4132e5965de2c6cf997a653af48f615b30c7a50 /firmware/drivers | |
| parent | 8856b8651980e0e2df2dbb94726cbc9bb4fc085b (diff) | |
| download | rockbox-b1079200d34b197a9ea0ec649168b0a307ee9517.zip rockbox-b1079200d34b197a9ea0ec649168b0a307ee9517.tar.gz rockbox-b1079200d34b197a9ea0ec649168b0a307ee9517.tar.bz2 rockbox-b1079200d34b197a9ea0ec649168b0a307ee9517.tar.xz | |
New option: Invert display. Patch by Mark Hillebrand.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3355 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers')
| -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 26112e3..6665ea8 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 |