From c0109c44b5f6f88efd5f1f5d9b84890d6306083e Mon Sep 17 00:00:00 2001 From: "RALOVICH, Kristof" Date: Sun, 19 Jan 2014 15:36:08 +0100 Subject: SerialUsb: reduce verbosity --- src/SerialUsb.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/SerialUsb.cpp b/src/SerialUsb.cpp index e7c60d2..03670fa 100644 --- a/src/SerialUsb.cpp +++ b/src/SerialUsb.cpp @@ -231,14 +231,14 @@ struct SerialUsbPrivate } if (clear & TIOCM_RTS) { control &= ~CONTROL_RTS; - control |= CONTROL_WRITE_RTS; + control |= CONTROL_WRITE_RTS; } if (clear & TIOCM_DTR) { - control &= ~CONTROL_DTR; + control &= ~CONTROL_DTR; control |= CONTROL_WRITE_DTR; } - lprintf(LOG_INF, "%s - control = 0x%.4x\n", __FUNCTION__, control); + //lprintf(LOG_INF, "%s - control = 0x%.4x\n", __FUNCTION__, control); return set_config(CP210X_SET_MHS, reinterpret_cast(&control), 2); } -- cgit v1.2.3