diff --git a/src/lib/ebus/device.cpp b/src/lib/ebus/device.cpp index 3ba25013..c46f9d2e 100755 --- a/src/lib/ebus/device.cpp +++ b/src/lib/ebus/device.cpp @@ -495,7 +495,7 @@ result_t SerialDevice::open() { tcflush(m_fd, TCIFLUSH); // activate new settings of serial device - if (tcsetattr(m_fd, TCSAFLUSH, &newSettings)) { + if (tcsetattr(m_fd, TCSANOW, &newSettings)) { close(); return RESULT_ERR_DEVICE; }