projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1fd905
)
altos/telelco: Update backlight/contrast display upon change
author
Keith Packard
<keithp@keithp.com>
Sun, 28 Jan 2024 07:11:15 +0000
(23:11 -0800)
committer
Keith Packard
<keithp@keithp.com>
Thu, 1 Feb 2024 01:50:19 +0000
(17:50 -0800)
Don't wait for the 1-second poll interval.
Signed-off-by: Keith Packard <keithp@keithp.com>
src/drivers/ao_lco_bits.c
patch
|
blob
|
history
diff --git
a/src/drivers/ao_lco_bits.c
b/src/drivers/ao_lco_bits.c
index b574437d9e6517acccc666febeea71fac8e8c826..2821d1195cdd4e8b31d79567a1f21b823d51c5e1 100644
(file)
--- 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