mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-12-29 11:52:59 +08:00
fix: saveFileEML() does not follow blocksize. Thanks to @brainpow
ref
271dface40
This commit is contained in:
parent
124ce7efc6
commit
843f453491
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ int saveFileEML(const char *preferredName, const char *suffix, uint8_t* data, si
|
|||
|
||||
for (i = 0; i < datalen; i++) {
|
||||
fprintf(f, "%02X", data[i] );
|
||||
if ( (i+1) % 4 == 0)
|
||||
if ( (i+1) % blocksize == 0)
|
||||
fprintf(f, "\n");
|
||||
}
|
||||
// left overs
|
||||
|
|
Loading…
Reference in a new issue