Skip to content

Commit 82a4495

Browse files
author
Ryan O'Kelley
committed
Don't reset countRetries to prevent endless loop
1 parent db04194 commit 82a4495

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

EasyModbus/ModbusClient.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1730,7 +1730,6 @@ public void WriteSingleCoil(int startingAddress, bool value)
17301730
data = new byte[2100];
17311731
Array.Copy(readBuffer, 0, data, 6, readBuffer.Length);
17321732
receivedUnitIdentifier = data[6];
1733-
countRetries = 0;
17341733
}
17351734

17361735
}

0 commit comments

Comments
 (0)