uart: Convert rtscts and xonxoff in mraa_uart_settings into mraa_boolean_t
This aligns the getter with the setter (mraa_uart_set_flowcontrol). Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
This commit is contained in:
@@ -106,7 +106,7 @@ main(int argc, const char** argv) {
|
||||
|
||||
int baudrate = 115200, stopbits = 1, databits = 8;
|
||||
mraa_uart_parity_t parity = MRAA_UART_PARITY_NONE;
|
||||
unsigned int ctsrts = FALSE, xonxoff = FALSE;
|
||||
mraa_boolean_t ctsrts = FALSE, xonxoff = FALSE;
|
||||
const char *name = NULL, *dev = NULL;
|
||||
|
||||
double recieve_timeout = 0.0;
|
||||
|
||||
Reference in New Issue
Block a user