[dss-commits] r8772 - dss/trunk/unix
dss-commits at forum.digitalstrom.org
dss-commits at forum.digitalstrom.org
Mon Sep 21 16:43:49 CEST 2009
Author: pstaehlin
Date: 2009-09-21 16:43:49 +0200 (Mon, 21 Sep 2009)
New Revision: 8772
Modified:
dss/trunk/unix/ds485.cpp
Log:
Reset the token counter when initializing
Modified: dss/trunk/unix/ds485.cpp
===================================================================
--- dss/trunk/unix/ds485.cpp 2009-09-21 08:21:39 UTC (rev 8771)
+++ dss/trunk/unix/ds485.cpp 2009-09-21 14:43:49 UTC (rev 8772)
@@ -275,6 +275,7 @@
if(m_State == csInitial) {
senseTimeMS = (rand() % 1000) + 100;
numberOfJoinPacketsToWait = -1;
+ m_TokenCounter = 0;
lastSentWasToken = false;
doChangeState(csSensing);
continue;
More information about the dss-commits
mailing list