FIX: Added @marshmellow42 's fix for ASK/Biphase simulation on deviceside.

CHG: Added @marshmellow42 's refactoring of "gprox-II" demod.
This commit is contained in:
iceman1001 2016-03-01 06:57:02 +01:00
commit c728b2b4cf
4 changed files with 33 additions and 45 deletions

View file

@ -48,7 +48,7 @@ int GetGuardBits(uint32_t fc, uint32_t cn, uint8_t *guardBits) {
time_t t;
srand((unsigned) time(&t));
//uint8_t xorKey = rand() % 0xFF;
uint8_t xorKey = 0x6b;
uint8_t xorKey = 0x66;
uint8_t i;