uart_set_baudrate should return actual rate set even in case of out of range parameters
This commit is contained in:
committed by
Luke Wren
parent
5ca82a9467
commit
16df9f8a95
@ -16,6 +16,7 @@ enum {
|
||||
PICO_ERROR_TIMEOUT = -1,
|
||||
PICO_ERROR_GENERIC = -2,
|
||||
PICO_ERROR_NO_DATA = -3,
|
||||
PICO_ERROR_OUT_OF_RANGE = -4,
|
||||
};
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user