Skip to content

Commit 891004b

Browse files
Merge pull request #40 from irishismyname/master
Don't reset countRetries to prevent endless loop
2 parents 48b4d9f + 82a4495 commit 891004b

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
@@ -1735,7 +1735,6 @@ public void WriteSingleCoil(int startingAddress, bool value)
17351735
data = new byte[2100];
17361736
Array.Copy(readBuffer, 0, data, 6, readBuffer.Length);
17371737
receivedUnitIdentifier = data[6];
1738-
countRetries = 0;
17391738
}
17401739

17411740
}

0 commit comments

Comments
 (0)