CHG: some minor changes from @marshmellow42

This commit is contained in:
iceman1001 2017-02-16 21:44:25 +01:00
commit 1a4b907335
3 changed files with 9 additions and 13 deletions

View file

@ -1448,10 +1448,10 @@ uint16_t countFC(uint8_t *BitStream, size_t size, uint8_t fskAdj)
uint8_t fcLens[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
uint16_t fcCnts[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
uint8_t fcLensFnd = 0;
uint8_t lastFCcnt=0;
uint8_t lastFCcnt = 0;
uint8_t fcCounter = 0;
size_t i;
if (size == 0) return 0;
if (size < 180) return 0;
// prime i to first up transition
for (i = 160; i < size-20; i++)