summaryrefslogtreecommitdiffstats
path: root/servers/gpib_server_lin/src
diff options
context:
space:
mode:
Diffstat (limited to 'servers/gpib_server_lin/src')
-rw-r--r--servers/gpib_server_lin/src/gpib_conn.cpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/servers/gpib_server_lin/src/gpib_conn.cpp b/servers/gpib_server_lin/src/gpib_conn.cpp
index d27c049..c0d43ca 100644
--- a/servers/gpib_server_lin/src/gpib_conn.cpp
+++ b/servers/gpib_server_lin/src/gpib_conn.cpp
@@ -807,21 +807,13 @@ void GPIBSocket::commandLoop() {
m_servClientTimeout->start(NETWORK_COMM_TIMEOUT_MS, TRUE);
transferred_data = true;
- m_commandLoopState = 2;
+ m_commandLoopState = 1;
}
clearFrameTail();
}
}
}
- else if (m_commandLoopState == 2) {
- if (canReadLine()) {
- processPendingData();
- }
- if (canReadFrame()) {
- //
- }
- }
}
m_criticalSection--;
if (transferred_data) {