mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-03-18 03:00:58 +08:00
chg: some debug
This commit is contained in:
parent
71a500d824
commit
d3654ab41c
2 changed files with 2 additions and 1 deletions
|
@ -1376,7 +1376,7 @@ int CmdHF14AMfChk_fast(const char *Cmd) {
|
|||
timeout = 0;
|
||||
|
||||
t2 = msclock() - t2;
|
||||
PrintAndLog("\n[-] Chunk: %.1fs | found %u/%u keys", (float)(t2/1000.0), curr_keys, (SectorsCnt<<1));
|
||||
PrintAndLog("\n[-] Chunk: %.1fs | found %u/%u keys (%u)", (float)(t2/1000.0), curr_keys, (SectorsCnt<<1), size);
|
||||
|
||||
// all keys?
|
||||
if ( curr_keys == SectorsCnt*2 || lastChunk ) {
|
||||
|
|
|
@ -106,6 +106,7 @@ static void *uart_receiver(void *targ) {
|
|||
while (arg->run) {
|
||||
rxlen = 0;
|
||||
if (uart_receive(sp, prx, sizeof(UsbCommand) - (prx-rx), &rxlen)) {
|
||||
|
||||
prx += rxlen;
|
||||
if (prx-rx < sizeof(UsbCommand)) {
|
||||
continue;
|
||||
|
|
Loading…
Reference in a new issue