diff options
author | Keith Packard <keithp@keithp.com> | 2015-06-25 18:42:29 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2015-06-25 18:43:13 -0700 |
commit | ee1b0bd05bedb8a5a631cc79c77fde8fd920ac38 (patch) | |
tree | 7a9f386c2076b236e8d83af28785148ecb5146b9 | |
parent | 6ecd75a7abb5fcee440f7672082013088634680b (diff) |
altos/telebt-v3.0: Report battery voltage correctly
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>
-rw-r--r-- | src/telebt-v3.0/ao_pins.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/telebt-v3.0/ao_pins.h b/src/telebt-v3.0/ao_pins.h index 6e90afcc..a6a01662 100644 --- 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); |