diff --git a/SourceCode/Operations/DecodeUART.cs b/SourceCode/Operations/DecodeUART.cs index c55fe4f..7763ad5 100644 --- a/SourceCode/Operations/DecodeUART.cs +++ b/SourceCode/Operations/DecodeUART.cs @@ -559,13 +559,13 @@ namespace Operations if (s32_State != s32_NewState) // data has changed { s32_State = s32_NewState; - if (s32_Sample > s32_SteadyStart && s32_Sample < s32_SteadyEnd) - b_BitError = true; + //if (s32_Sample > s32_SteadyStart && s32_Sample < s32_SteadyEnd) + // b_BitError = true; } // Abort the loop at 80% of the last stop bit to assure that the next start bit is not missed if it comes early. - if (s32_Bit == i_BitChars.Count -1 && s32_Sample >= s32_SteadyEnd) - break; + //if (s32_Bit == i_BitChars.Count -1 && s32_Sample >= s32_SteadyEnd) + // break; // Take the data value in the middle of the bit if (s32_Sample == s32_SamplePoint)