mirror of
https://github.com/S7NetPlus/s7netplus.git
synced 2026-02-17 22:38:27 +08:00
Apply some of the hints that the compiler is giving.
This commit is contained in:
@@ -75,9 +75,9 @@ namespace S7.Net.Protocol
|
||||
{
|
||||
var start = startByte * 8 + bitNumber;
|
||||
buffer[index + 2] = (byte)start;
|
||||
start = start >> 8;
|
||||
start >>= 8;
|
||||
buffer[index + 1] = (byte)start;
|
||||
start = start >> 8;
|
||||
start >>= 8;
|
||||
buffer[index] = (byte)start;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user