projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ecd75a
)
altos/telebt-v3.0: Report battery voltage correctly
author
Keith Packard
<keithp@keithp.com>
Fri, 26 Jun 2015 01:42:29 +0000
(18:42 -0700)
committer
Keith Packard
<keithp@keithp.com>
Fri, 26 Jun 2015 01:43:13 +0000
(18:43 -0700)
There was an extra %d, and an extra ':' in the output, making the UI
not parse the voltage correctly
Signed-off-by: Keith Packard <keithp@keithp.com>
src/telebt-v3.0/ao_pins.h
patch
|
blob
|
history
diff --git
a/src/telebt-v3.0/ao_pins.h
b/src/telebt-v3.0/ao_pins.h
index 6e90afcc16c63d32043f19e79b86bbd594f09949..a6a016622fa06aa364262d53db15b402cf9d92ea 100644
(file)
--- a/
src/telebt-v3.0/ao_pins.h
+++ b/
src/telebt-v3.0/ao_pins.h
@@
-130,7
+130,7
@@
struct ao_adc {
};
#define AO_ADC_DUMP(p) \
- printf("tick: %5u
%5d batt:
%5d\n", \
+ printf("tick: %5u
batt
%5d\n", \
(p)->tick, \
(p)->adc.v_batt);