Refactor keys in flash statistics to check for files

This commit is contained in:
Piotr Rzeszut committed 2024-12-26 01:11:46 +01:00
1 parent 3b9ba0ffe5
commit d9a3e4f050
6 files changed
+34 -44

No files matched your search

+1 -1
View File
@@ -247,7 +247,7 @@ static int CmdFlashMemLoad(const char *Cmd) {
switch (d) {
case DICTIONARY_MIFARE:
keylen = 6;
keylen = MF_KEY_LENGTH;
res = loadFileDICTIONARY(filename, data, &datalen, keylen, &keycount);
if (res || !keycount) {
free(data);