hf emv select some refactoring

This commit is contained in:
merlokk 2018-09-11 14:56:33 +03:00
commit 7d4ba60e8e
2 changed files with 5 additions and 2 deletions

View file

@ -51,8 +51,7 @@ int CmdHFEMVSelect(const char *cmd) {
bool leaveSignalON = arg_get_lit(2);
bool APDULogging = arg_get_lit(3);
bool decodeTLV = arg_get_lit(4);
if (arg_get_str_len(5))
CLIGetStrBLessWithReturn(5, data, &datalen, 0);
CLIGetStrBLessWithReturn(5, data, &datalen, 0);
CLIParserFree();
SetAPDULogging(APDULogging);