Skip to content

Commit 7dbc983

Browse files
committed
Fix non-return error in 'ap3_change_channel'
1 parent c2b855b commit 7dbc983

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cores/arduino/ard_sup/analog/ap3_analog.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,8 @@ ap3_err_t ap3_change_channel(uint8_t padNumber)
351351
//Serial.println("Error - configuring ADC Slot 0 failed.\n");
352352
return AP3_ERR;
353353
}
354+
355+
return AP3_OK;
354356
}
355357

356358

0 commit comments

Comments
 (0)