Skip to content

Commit

Permalink
Fix the preamble count to match the S-9.2 minimum of 10 preamble bits…
Browse files Browse the repository at this point in the history
… (20 half bits). (#671)
  • Loading branch information
bakerstu authored Oct 23, 2022
1 parent 5c5b792 commit f5d0876
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dcc/Receiver.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ public:
parseCount_++;
return;
}
if (timings_[DCC_ZERO].match(value) && (parseCount_ >= 16))
if (timings_[DCC_ZERO].match(value) && (parseCount_ >= 20))
{
parseState_ = DCC_END_OF_PREAMBLE;
return;
Expand Down

0 comments on commit f5d0876

Please sign in to comment.