aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2011-04-27 17:38:33 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2011-04-27 17:38:33 -0400
commitf7298dc9875d8d680502269492ba47f16c86a9fb (patch)
tree8c389abea4da0c5f4a767b42b3f88cb306c1d37f
parent033bf3f26290c41074cf487549233ea2c25120f0 (diff)
downloadlibrambutan-f7298dc9875d8d680502269492ba47f16c86a9fb.tar.gz
librambutan-f7298dc9875d8d680502269492ba47f16c86a9fb.zip
Trivial test-session.cpp bugfix
-rw-r--r--examples/test-session.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/test-session.cpp b/examples/test-session.cpp
index ad3cacb..959c1b8 100644
--- a/examples/test-session.cpp
+++ b/examples/test-session.cpp
@@ -423,7 +423,7 @@ void cmd_sequential_adc_reads(void) {
SerialUSB.println("Press any key for next port, or ESC to stop.");
for (uint32 i = 0; i < BOARD_NR_ADC_PINS; i++) {
- if (boardUsesPin(i))
+ if (boardUsesPin(boardADCPins[i]))
continue;
SerialUSB.print("Reading pin ");