diff options
-rw-r--r-- | firmware/target/coldfire/mpio/hd200/lcd-hd200.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/firmware/target/coldfire/mpio/hd200/lcd-hd200.c b/firmware/target/coldfire/mpio/hd200/lcd-hd200.c index 46509bc49a..8cb4449b57 100644 --- a/firmware/target/coldfire/mpio/hd200/lcd-hd200.c +++ b/firmware/target/coldfire/mpio/hd200/lcd-hd200.c @@ -63,11 +63,17 @@ int lcd_default_contrast(void) void lcd_powersave(bool on) { -/* What is the point of having else construct here? */ if (on) + /* enter power saving mode + * this turns off lcd without controller reset + * probably ~1mA saving + */ lcd_write_command(LCD_SET_POWER_SAVE | 1); else - lcd_write_command(LCD_SET_POWER_SAVE | 1); + /* leave lcd power saving mode + * no need to reset and initialize controller + */ + lcd_write_command(LCD_SET_POWER_SAVE | 0); } void lcd_set_contrast(int val) |