summaryrefslogtreecommitdiff
path: root/src/telelco-v2.0/ao_lco_v2.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2018-07-04 11:58:40 -0700
committerKeith Packard <keithp@keithp.com>2018-07-04 11:58:40 -0700
commit38fb80e5e6af87f8c734448e4aa69b2c39854903 (patch)
treefab055df82e144a2953810049fd68c9d56dbb120 /src/telelco-v2.0/ao_lco_v2.c
parent2214ad7c0f268be76c0b027eef9d1dc406f23b28 (diff)
altos: Make LCO search directly drive pad/box displays
Don't use ao_lco_show as that has other logic too. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/telelco-v2.0/ao_lco_v2.c')
-rw-r--r--src/telelco-v2.0/ao_lco_v2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/telelco-v2.0/ao_lco_v2.c b/src/telelco-v2.0/ao_lco_v2.c
index f64a7745..a9933d59 100644
--- a/src/telelco-v2.0/ao_lco_v2.c
+++ b/src/telelco-v2.0/ao_lco_v2.c
@@ -72,7 +72,7 @@ ao_lco_show_box(uint16_t box)
ao_mutex_put(&ao_lco_display_mutex);
}
-void
+static void
ao_lco_show_voltage(uint16_t decivolts)
{
uint8_t tens, ones, tenths;
@@ -89,7 +89,7 @@ ao_lco_show_voltage(uint16_t decivolts)
}
void
-ao_lco_show_display(void)
+ao_lco_show(void)
{
if (ao_lco_pad == AO_LCO_PAD_VOLTAGE) {
ao_lco_show_voltage(ao_pad_query.battery);