CHG: moved a defince arraylen into util.h and changed to uppercase.

This commit is contained in:
iceman1001 2016-08-04 21:54:11 +02:00
commit 52eeaef568
5 changed files with 44 additions and 56 deletions

View file

@ -981,7 +981,7 @@ int CmdVchDemod(const char *Cmd)
for (i = 0; i < (GraphTraceLen-2048); i++) {
int sum = 0;
int j;
for (j = 0; j < arraylen(SyncPattern); j++) {
for (j = 0; j < ARRAYLEN(SyncPattern); j++) {
sum += GraphBuffer[i+j]*SyncPattern[j];
}
if (sum > bestCorrel) {