From: Keith Packard Date: Fri, 26 Jun 2015 01:42:29 +0000 (-0700) Subject: altos/telebt-v3.0: Report battery voltage correctly X-Git-Tag: 1.6.0.4~20 X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=ee1b0bd05bedb8a5a631cc79c77fde8fd920ac38;p=fw%2Faltos 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 --- 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);