projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
29f9880
)
altos/telelco-v2.0: Add debug output for pad voltage display
author
Keith Packard
<keithp@keithp.com>
Mon, 28 May 2018 22:07:06 +0000
(15:07 -0700)
committer
Keith 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
patch
|
blob
|
history
diff --git
a/src/telelco-v2.0/ao_lco_v2.c
b/src/telelco-v2.0/ao_lco_v2.c
index d78f54d2d47e4978e0e16e54f5f2b68501c7164c..371b978afd62c1443d7cd02e0536d20da9380dff 100644
(file)
--- 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;