We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8acc84e commit 04bf977Copy full SHA for 04bf977
1 file changed
DebugManchester.ino
@@ -122,7 +122,7 @@ void loop(){
122
}//end of dealing with ones
123
else{ //bitState==0 could first error, first zero or packet
124
// if it is header there must be no "zeroes" or errors
125
- if(headerHits<headerBits){
+ if((headerHits<headerBits)&&(!firstZero)){
126
//Still in header checking phase, more header hits required
127
noErrors=false;//landing here means header is corrupted, so it is probably an error
128
}//end of detecting a "zero" inside a header
0 commit comments