From: Keith Packard Date: Sun, 28 Jan 2024 07:11:15 +0000 (-0800) Subject: altos/telelco: Update backlight/contrast display upon change X-Git-Tag: 1.9.18~2^2~29 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=bf7d2aaccd41837dd2e032023107616266e22a6d altos/telelco: Update backlight/contrast display upon change Don't wait for the 1-second poll interval. Signed-off-by: Keith Packard --- diff --git a/src/drivers/ao_lco_bits.c b/src/drivers/ao_lco_bits.c index b574437d..2821d119 100644 --- a/src/drivers/ao_lco_bits.c +++ b/src/drivers/ao_lco_bits.c @@ -265,6 +265,7 @@ ao_lco_step_pad(int8_t dir) if (contrast > AO_LCO_MAX_CONTRAST) contrast = AO_LCO_MAX_CONTRAST; ao_lco_set_contrast(contrast); + ao_lco_show(); break; } #endif @@ -280,6 +281,7 @@ ao_lco_step_pad(int8_t dir) if (backlight > AO_LCO_MAX_BACKLIGHT) backlight = AO_LCO_MAX_BACKLIGHT; ao_lco_set_backlight(backlight); + ao_lco_show(); break; } #endif