From 61450814639a119f4bf009431769e500354606b3 Mon Sep 17 00:00:00 2001 From: Marti Bolivar Date: Wed, 31 Aug 2011 15:00:37 -0400 Subject: test-session.cpp: Tweak output. --- examples/test-session.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'examples') diff --git a/examples/test-session.cpp b/examples/test-session.cpp index d81fca8..7ed113b 100644 --- a/examples/test-session.cpp +++ b/examples/test-session.cpp @@ -308,11 +308,11 @@ void cmd_adc_stats(void) { while (i < BOARD_NR_ADC_PINS) { measure_adc_noise(boardADCPins[i]); + SerialUSB.println("----------"); uint8 c = SerialUSB.read(); if (c == ESC) { break; } else if (c != 'r' && c != 'R') { - SerialUSB.println("----------"); i++; } } @@ -343,11 +343,11 @@ void cmd_stressful_adc_stats(void) { } } + SerialUSB.println("----------"); uint8 c = SerialUSB.read(); if (c == ESC) { break; } else if (c != 'r' && c != 'R') { - SerialUSB.println("----------"); i++; } } @@ -476,7 +476,7 @@ void cmd_sequential_adc_reads(void) { SerialUSB.print("0"); } } - SerialUSB.println(""); + SerialUSB.println(); } pinMode(boardADCPins[i], OUTPUT); digitalWrite(boardADCPins[i], 0); -- cgit v1.2.3