From f79286b2d0e758ac39766d1c6a8dd7e9a9c9e26b Mon Sep 17 00:00:00 2001 From: Himmelt Date: Fri, 18 Aug 2023 15:58:35 +0800 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Michael Croes --- S7.Net/Conversion.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/S7.Net/Conversion.cs b/S7.Net/Conversion.cs index 8a53fb8..4bca543 100644 --- a/S7.Net/Conversion.cs +++ b/S7.Net/Conversion.cs @@ -155,9 +155,9 @@ namespace S7.Net /// Helper to set a bit value to the given byte at the bit index. /// Example: byte data = (byte)0x00; data.SetBit(4, true);// data -> 0x10 /// - /// byte data to be modified - /// bit index - /// bool value to set + /// The data to be modified. + /// The zero-based index of the bit to set. + /// The Boolean value to assign to the bit. public static void SetBit(this ref byte data, int index, bool value) { if ((uint)index > 7)