[dss-commits] r8875 - dss/trunk/unix
dss-commits at forum.digitalstrom.org
dss-commits at forum.digitalstrom.org
Thu Oct 29 10:17:26 CET 2009
Author: pstaehlin
Date: 2009-10-29 10:17:26 +0100 (Thu, 29 Oct 2009)
New Revision: 8875
Modified:
dss/trunk/unix/ds485.cpp
Log:
Interpret busy commands
Closes #204
Modified: dss/trunk/unix/ds485.cpp
===================================================================
--- dss/trunk/unix/ds485.cpp 2009-10-29 09:17:23 UTC (rev 8874)
+++ dss/trunk/unix/ds485.cpp 2009-10-29 09:17:26 UTC (rev 8875)
@@ -465,6 +465,8 @@
if(cmdAckFrame->getCommand() == CommandAck) {
m_PendingFrames.erase(m_PendingFrames.begin());
std::cout << "\ngot ack" << std::endl;
+ } else if(cmdAckFrame->getCommand() == CommandBusy) {
+ std::cout << "\nmodulator is busy" << std::endl;
} else {
m_PendingFrames.erase(m_PendingFrames.begin());
std::cout << "\n&&&&got other" << std::endl;
More information about the dss-commits
mailing list