mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 21:33:47 -07:00
CHG: moved a defince arraylen into util.h and changed to uppercase.
This commit is contained in:
parent
82e690f48b
commit
52eeaef568
5 changed files with 44 additions and 56 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue