Private
Public Access
2
0

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:
Jan Kiszka
2021-04-30 08:40:27 +02:00
committed by Tom Ingleby
parent aeb0b331b5
commit 11e65ee9bf
3 changed files with 8 additions and 8 deletions

View File

@@ -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;