fix: saveFileEML() does not follow blocksize. Thanks to @brainpow

ref
271dface40
This commit is contained in:
iceman1001 2018-02-06 12:43:58 +01:00
parent 124ce7efc6
commit 843f453491

View file

@ -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