fix macro

This commit is contained in:
merlokk 2019-02-20 16:05:32 +02:00
commit 12582df976

View file

@ -1421,8 +1421,7 @@ int CmdEMVScan(const char *cmd) {
} }
// drop field at start // drop field at start
if (channel == ECC_CONTACTLESS) DropFieldEx( channel );
DropFieldEx( channel );
JsonSaveStr(root, "$.File.Created", "proxmark3 `emv scan`"); JsonSaveStr(root, "$.File.Created", "proxmark3 `emv scan`");
@ -1663,8 +1662,7 @@ int CmdEMVScan(const char *cmd) {
// free tlv object // free tlv object
tlvdb_free(tlvRoot); tlvdb_free(tlvRoot);
if (channel == ECC_CONTACTLESS) DropFieldEx( channel );
DropFieldEx( channel );
res = json_dump_file(root, fname, JSON_INDENT(2)); res = json_dump_file(root, fname, JSON_INDENT(2));
if (res) { if (res) {