[dss-commits] r8879 - dss/trunk/unix

dss-commits at forum.digitalstrom.org dss-commits at forum.digitalstrom.org
Fri Oct 30 13:23:13 CET 2009


Author: pstaehlin
Date: 2009-10-30 13:23:13 +0100 (Fri, 30 Oct 2009)
New Revision: 8879

Modified:
   dss/trunk/unix/ds485proxy.cpp
Log:
Send dSLink frame out even if we're not expecting an answer

Modified: dss/trunk/unix/ds485proxy.cpp
===================================================================
--- dss/trunk/unix/ds485proxy.cpp	2009-10-30 08:58:40 UTC (rev 8878)
+++ dss/trunk/unix/ds485proxy.cpp	2009-10-30 12:23:13 UTC (rev 8879)
@@ -1041,9 +1041,11 @@
         throw DS485ApiError(errStr);
       }
       return pd.get<uint16_t>();
+    } else {
+      sendFrame(cmdFrame);
+      log("dsLinkSend: Not waiting for response (writeOnly is set)");
+      return 0;
     }
-    log("dsLinkSend: Not waiting for response (writeOnly is set)");
-    return 0;
   } // dsLinkSend
 
   void DS485Proxy::addToGroup(const int _modulatorID, const int _groupID, const int _deviceID) {



More information about the dss-commits mailing list