diff options
| author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-07-11 14:01:11 -0500 |
|---|---|---|
| committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-07-11 14:01:11 -0500 |
| commit | ce039289815e2802fdeca8d384126c807ca9cb58 (patch) | |
| tree | c6ceb8cf27601a54b858f7869e5e4ab7023b6e03 /servers/gpib_server_lin/src/gpib_conn.cpp | |
| parent | 89702662657667460d0e5914794366d190f11534 (diff) | |
| download | ulab-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.cpp | 10 |
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) { |
