aboutsummaryrefslogtreecommitdiffstats
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
commit61450814639a119f4bf009431769e500354606b3 (patch)
tree01d7d0128c75a8d6e8be677be040ae1246903280
parentefb47bbab6666945334a478b0fce71f24e699997 (diff)
downloadlibrambutan-61450814639a119f4bf009431769e500354606b3.tar.gz
librambutan-61450814639a119f4bf009431769e500354606b3.zip
test-session.cpp: Tweak output.
-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);