added setUartMode in configuration function
This commit is contained in:
parent
866868b25f
commit
323008c64a
@ -79,6 +79,7 @@ int UartComIF::configureUartPort(UartCookie* uartCookie) {
|
|||||||
setStopBitOptions(&options, uartCookie);
|
setStopBitOptions(&options, uartCookie);
|
||||||
setDatasizeOptions(&options, uartCookie);
|
setDatasizeOptions(&options, uartCookie);
|
||||||
setFixedOptions(&options);
|
setFixedOptions(&options);
|
||||||
|
setUartMode(&options, *uartCookie);
|
||||||
if(uartCookie->getInputShouldBeFlushed()) {
|
if(uartCookie->getInputShouldBeFlushed()) {
|
||||||
tcflush(fd, TCIFLUSH);
|
tcflush(fd, TCIFLUSH);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user