Unverified Commit a17c6731 authored by Rodrigo Garcia's avatar Rodrigo Garcia Committed by GitHub

fixes setPins return (#8644)

parent 44da992b
......@@ -150,7 +150,7 @@ bool uartSetPins(uint8_t uart_num, int8_t rxPin, int8_t txPin, int8_t ctsPin, in
{
if(uart_num >= SOC_UART_NUM) {
log_e("Serial number is invalid, please use numers from 0 to %u", SOC_UART_NUM - 1);
return;
return false;
}
// IDF uart_set_pin() will issue necessary Error Message and take care of all GPIO Number validation.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment