lf t55xx code cleanup +

@iceman1001 s cleanup of some t55xx read code, plus some timing tests to
improve lf t5 detect/read...
small typo in pcf 16 address bytes instead of 4...
add option for verbose or not on bigbuf clear cmd.
This commit is contained in:
marshmellow42 2015-10-15 14:53:49 -04:00
commit 7cfc777b0e
9 changed files with 165 additions and 152 deletions

View file

@ -250,10 +250,10 @@ int CmdT55xxReadBlock(const char *Cmd) {
}
uint8_t got[12000];
GetFromBigBuf(got,sizeof(got),0);
GetFromBigBuf(got, sizeof(got), 0);
WaitForResponse(CMD_ACK,NULL);
setGraphBuf(got, 12000);
DemodBufferLen=0;
setGraphBuf(got, sizeof(got));
//DemodBufferLen=0;
if (!DecodeT55xxBlock()) return 3;
char blk[10]={0};
sprintf(blk,"%d", block);