summaryrefslogtreecommitdiffstats
path: root/src/common/port/serial.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/port/serial.cpp')
-rw-r--r--src/common/port/serial.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/port/serial.cpp b/src/common/port/serial.cpp
index 2db84b9..2aaa7a8 100644
--- a/src/common/port/serial.cpp
+++ b/src/common/port/serial.cpp
@@ -387,7 +387,7 @@ bool Port::Serial::internalReadPin(Pin pin, LogicType type, bool &value)
return true;
#elif defined(Q_OS_WIN)
DWORD status;
- if ( GetCommModemtqStatus(_fd, &status)==0 ) return false;
+ if ( GetCommModemStatus(_fd, &status)==0 ) return false;
switch (pin) {
case DCD: value = (status & MS_RLSD_ON); break;
case DSR: value = (status & MS_DSR_ON); break;