mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 21:33:47 -07:00
CHG: added timeouts for downloading values from device, to make the client more responsive.
CHG: still curious for the printf_hex_breaks method, why it behavies strange.
This commit is contained in:
parent
085e8501f7
commit
f7f844d0ba
2 changed files with 15 additions and 6 deletions
|
@ -110,8 +110,8 @@ void print_hex_break(const uint8_t *data, const size_t len, uint8_t breaks) {
|
|||
printf("%02X ", data[i]);
|
||||
|
||||
// check if a line break is needed
|
||||
if ( (breaks > 0) && (i > 0) && !(i % breaks) )
|
||||
printf("(%d %d)\n", i , breaks);
|
||||
if ( breaks > 0 && !(i+1 % breaks) )
|
||||
printf("(%d %d)\n", i+1 , breaks);
|
||||
}
|
||||
printf("\n");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue