diff options
author | Rafaël Carré <rafael.carre@gmail.com> | 2012-01-07 19:32:50 +0000 |
---|---|---|
committer | Rafaël Carré <rafael.carre@gmail.com> | 2012-01-07 19:32:50 +0000 |
commit | 351c8b257381cefc14b86b4d5de9eb93390f4de4 (patch) | |
tree | a0f4eeaffdf3acac3c3a3731d3fb287aabdd8fa9 /firmware/target/arm/olympus/mrobe-100/lcd-remote-mr100.c | |
parent | 6ab12df1534999b6f4de723335e4fbb42c55be2c (diff) | |
download | rockbox-351c8b257381cefc14b86b4d5de9eb93390f4de4.tar.gz rockbox-351c8b257381cefc14b86b4d5de9eb93390f4de4.zip |
move _remote_backlight_* to common header
remove unused REMOTE_INIT_LCD / REMOTE_DEINIT_LCD
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31607 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/olympus/mrobe-100/lcd-remote-mr100.c')
-rw-r--r-- | firmware/target/arm/olympus/mrobe-100/lcd-remote-mr100.c | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/firmware/target/arm/olympus/mrobe-100/lcd-remote-mr100.c b/firmware/target/arm/olympus/mrobe-100/lcd-remote-mr100.c index 1f7ab47a0f..ca4bbde483 100644 --- a/firmware/target/arm/olympus/mrobe-100/lcd-remote-mr100.c +++ b/firmware/target/arm/olympus/mrobe-100/lcd-remote-mr100.c | |||
@@ -486,16 +486,6 @@ void lcd_remote_set_contrast(int val) | |||
486 | rc_status |= RC_UPDATE_CONTROLLER; | 486 | rc_status |= RC_UPDATE_CONTROLLER; |
487 | } | 487 | } |
488 | 488 | ||
489 | void lcd_remote_backlight(bool on) | ||
490 | { | ||
491 | if (on) | ||
492 | rc_status |= RC_BACKLIGHT_ON; | ||
493 | else | ||
494 | rc_status &= ~RC_BACKLIGHT_ON; | ||
495 | |||
496 | rc_status |= RC_UPDATE_CONTROLLER; | ||
497 | } | ||
498 | |||
499 | void lcd_remote_off(void) | 489 | void lcd_remote_off(void) |
500 | { | 490 | { |
501 | /* should only be used to power off at shutdown */ | 491 | /* should only be used to power off at shutdown */ |
@@ -560,3 +550,15 @@ void lcd_remote_update_rect(int x, int y, int width, int height) | |||
560 | 550 | ||
561 | rc_status |= RC_UPDATE_LCD; | 551 | rc_status |= RC_UPDATE_LCD; |
562 | } | 552 | } |
553 | |||
554 | void _remote_backlight_on(void) | ||
555 | { | ||
556 | rc_status |= RC_BACKLIGHT_ON; | ||
557 | rc_status |= RC_UPDATE_CONTROLLER; | ||
558 | } | ||
559 | |||
560 | void _remote_backlight_off(void) | ||
561 | { | ||
562 | rc_status &= ~RC_BACKLIGHT_ON; | ||
563 | rc_status |= RC_UPDATE_CONTROLLER; | ||
564 | } | ||