altos/telelco-v2.0: Add debug output for pad voltage display
authorKeith Packard <keithp@keithp.com>
Mon, 28 May 2018 22:07:06 +0000 (15:07 -0700)
committerKeith Packard <keithp@keithp.com>
Mon, 28 May 2018 22:07:06 +0000 (15:07 -0700)
Signed-off-by: Keith Packard <keithp@keithp.com>
src/telelco-v2.0/ao_lco_v2.c

index d78f54d2d47e4978e0e16e54f5f2b68501c7164c..371b978afd62c1443d7cd02e0536d20da9380dff 100644 (file)
@@ -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;