mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-20 21:33:19 -07:00
started to enable demod graphing
first step: find graph start position from each rawdemod -now complete. todo: apply to each individual demod todo: graph it
This commit is contained in:
parent
8b6abef506
commit
669959bc5c
3 changed files with 104 additions and 59 deletions
|
@ -43,7 +43,8 @@ int CmdCOTAGDemod(const char *Cmd) {
|
|||
size_t bitlen = COTAG_BITS;
|
||||
memcpy(bits, DemodBuffer, COTAG_BITS);
|
||||
|
||||
int err = manrawdecode(bits, &bitlen, 1);
|
||||
uint8_t alignPos = 0;
|
||||
int err = manrawdecode(bits, &bitlen, 1, &alignPos);
|
||||
if (err){
|
||||
if (g_debugMode) PrintAndLog("DEBUG: Error - COTAG too many errors: %d", err);
|
||||
return -1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue