summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRALOVICH, Kristof <tade60@freemail.hu>2014-01-19 15:36:08 +0100
committerRALOVICH, Kristof <tade60@freemail.hu>2014-01-19 15:36:08 +0100
commitc0109c44b5f6f88efd5f1f5d9b84890d6306083e (patch)
tree024b4320792ca33b93cd70bf612f995f88d18cd6 /src
parent25cae1451289cb5638ede7676def7e4879d19a74 (diff)
SerialUsb: reduce verbosity
Diffstat (limited to 'src')
-rw-r--r--src/SerialUsb.cpp6
1 files changed, 3 insertions, 3 deletions
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<char*>(&control), 2);
}