diff options
author | Jens Arnold <amiconn@rockbox.org> | 2005-11-06 01:26:42 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2005-11-06 01:26:42 +0000 |
commit | ec8f328d89f7db22f9894148e2c0431e44ebf191 (patch) | |
tree | bfc49750f9d3f9673a2e97b98b92fc0c80c3e2bb | |
parent | 97a21a3b36aa74d133af5bf5411cbf6d576f8a86 (diff) |
Set remote LCD invert state in a clean way.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7760 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | firmware/drivers/lcd-h100-remote.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/lcd-h100-remote.c b/firmware/drivers/lcd-h100-remote.c index afd0377914..1103620f7b 100644 --- a/firmware/drivers/lcd-h100-remote.c +++ b/firmware/drivers/lcd-h100-remote.c @@ -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) */ |