uart_set_baudrate should return actual rate set even in case of out of range parameters
This commit is contained in:
committed by
Graham Sanderson
parent
4cc1efa01a
commit
a98136628c
@ -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