diff options
Diffstat (limited to 'examples/test-session.cpp')
-rw-r--r-- | examples/test-session.cpp | 2 |
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 "); |