[Unzap] Abschaltcodes

Stefan Uhl s.uhl at gmx.net
Thu Oct 16 19:27:05 CEST 2008


* Stefan Uhl <s.uhl at gmx.net> [081016 15:18]:
>                         if (! head & 0x01){ /* Manchestercode */
>                                 a = pattern[0] & 0x01;
>                                 if (a) seq[scount++] = w[a];
>                                 else if (scount) seq[scount-1] += w[a];
>                                 for (uint8_t j = 1; j <= plen; j++){
                                                        ^^ <  
Noch ein Fehler. Da wir hier nur auf die Grenze zwischen zwei Bits
schauen darf diese Schleife nur #bits - 1 mal durchlaufen werden...

Stefan





More information about the unzap mailing list