forked from len0rd/rockbox
Set remote LCD invert state in a clean way.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7760 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
97a21a3b36
commit
ec8f328d89
1 changed files with 1 additions and 1 deletions
|
@ -240,7 +240,7 @@ void lcd_remote_set_invert_display(bool yesno)
|
|||
{
|
||||
cached_invert = yesno;
|
||||
if (remote_initialized)
|
||||
lcd_remote_write_command(LCD_REMOTE_CNTL_REVERSE_ON_OFF | yesno);
|
||||
lcd_remote_write_command(LCD_REMOTE_CNTL_REVERSE_ON_OFF | (yesno?1:0));
|
||||
}
|
||||
|
||||
/* turn the display upside down (call lcd_remote_update() afterwards) */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue