aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2011-08-31 15:00:37 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2011-08-31 15:00:37 -0400
commit23f1f96bcac430580dbe86a7e846a3e578d3382e (patch)
tree01d7d0128c75a8d6e8be677be040ae1246903280 /examples
parenta38b67d2d50f054f9b45647d5545ec95b2c61a02 (diff)
test-session.cpp: Tweak output.
Diffstat (limited to 'examples')
-rw-r--r--examples/test-session.cpp6
1 files changed, 3 insertions, 3 deletions
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);