From: Keith Packard Date: Mon, 28 May 2018 22:07:06 +0000 (-0700) Subject: altos/telelco-v2.0: Add debug output for pad voltage display X-Git-Tag: 1.8.6~1^2~42 X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=eb31a40b3499287e0a52324a9adc3728883ed957;p=fw%2Faltos altos/telelco-v2.0: Add debug output for pad voltage display Signed-off-by: Keith Packard --- diff --git a/src/telelco-v2.0/ao_lco_v2.c b/src/telelco-v2.0/ao_lco_v2.c index d78f54d2..371b978a 100644 --- a/src/telelco-v2.0/ao_lco_v2.c +++ b/src/telelco-v2.0/ao_lco_v2.c @@ -102,6 +102,7 @@ ao_lco_set_voltage(uint16_t decivolts) { uint8_t tens, ones, tenths; + PRINTD("voltage %d\n", decivolts); tenths = decivolts % 10; ones = (decivolts / 10) % 10; tens = (decivolts / 100) % 10;