summaryrefslogtreecommitdiff
path: root/firmware/target/arm/olympus/mrobe-100/lcd-remote-mr100.c
diff options
context:
space:
mode:
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.c22
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
489void 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
499void lcd_remote_off(void) 489void 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
554void _remote_backlight_on(void)
555{
556 rc_status |= RC_BACKLIGHT_ON;
557 rc_status |= RC_UPDATE_CONTROLLER;
558}
559
560void _remote_backlight_off(void)
561{
562 rc_status &= ~RC_BACKLIGHT_ON;
563 rc_status |= RC_UPDATE_CONTROLLER;
564}