diff options
author | Keith Packard <keithp@keithp.com> | 2014-02-08 22:02:02 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2014-02-08 22:02:18 -0800 |
commit | 864d1e2282ac1d241478cf663ee24112c9d3dc37 (patch) | |
tree | 2addfa194ac5039bad0e8b2901c871d0e5d6e763 | |
parent | f750ef6f9745b15af45bb80f5b46b9e6f51796d8 (diff) |
altos: Fixup named ADC printing
Print all ADC values on one line when using named ADC values
Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r-- | src/stm/ao_adc_stm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stm/ao_adc_stm.c b/src/stm/ao_adc_stm.c index 17ff344d..67416a9d 100644 --- a/src/stm/ao_adc_stm.c +++ b/src/stm/ao_adc_stm.c @@ -190,7 +190,7 @@ ao_adc_dump(void) __reentrant for (i = 0; i < AO_NUM_ADC; i++) { #ifdef AO_ADC_SQ1_NAME if (ao_adc_name[i]) - printf ("\t%s: %5d\n", ao_adc_name[i], d[i]); + printf (" %s: %5d", ao_adc_name[i], d[i]); else #endif printf (" %2d: %5d", i, d[i]); |