summaryrefslogtreecommitdiffstats
path: root/servers/gpib_server_lin/src/gpib_conn.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-07-11 14:01:11 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-07-11 14:01:11 -0500
commitce039289815e2802fdeca8d384126c807ca9cb58 (patch)
treec6ceb8cf27601a54b858f7869e5e4ab7023b6e03 /servers/gpib_server_lin/src/gpib_conn.cpp
parent89702662657667460d0e5914794366d190f11534 (diff)
downloadulab-ce039289815e2802fdeca8d384126c807ca9cb58.tar.gz
ulab-ce039289815e2802fdeca8d384126c807ca9cb58.zip
Fix GPIB server failure
Diffstat (limited to 'servers/gpib_server_lin/src/gpib_conn.cpp')
-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) {