small fix

This commit is contained in:
merlokk 2018-10-08 20:43:52 +03:00
commit 998815337e
2 changed files with 5 additions and 6 deletions

View file

@ -1109,15 +1109,15 @@ int CmdHFEMVScan(const char *cmd) {
bool paramLoadJSON = arg_get_lit(4); bool paramLoadJSON = arg_get_lit(4);
enum TransactionType TrType = TT_MSD; enum TransactionType TrType = TT_MSD;
if (arg_get_lit(5))
TrType = TT_QVSDCMCHIP;
if (arg_get_lit(6)) if (arg_get_lit(6))
TrType = TT_CDA; TrType = TT_QVSDCMCHIP;
if (arg_get_lit(7)) if (arg_get_lit(7))
TrType = TT_CDA;
if (arg_get_lit(8))
TrType = TT_VSDC; TrType = TT_VSDC;
bool GenACGPO = arg_get_lit(8); bool GenACGPO = arg_get_lit(9);
bool MergeJSON = arg_get_lit(9); bool MergeJSON = arg_get_lit(10);
CLIParserFree(); CLIParserFree();
SetAPDULogging(showAPDU); SetAPDULogging(showAPDU);

View file

@ -38,7 +38,6 @@ enum TransactionType {
TT_QVSDCMCHIP, TT_QVSDCMCHIP,
TT_CDA, TT_CDA,
}; };
extern char *TransactionTypeStr[]; extern char *TransactionTypeStr[];
typedef struct { typedef struct {