propagate CmdsParse return value

This commit is contained in:
Philippe Teuwen 2019-04-19 00:47:51 +02:00
commit 1b6a45ac17
46 changed files with 47 additions and 93 deletions

View file

@ -1166,8 +1166,7 @@ static int CmdHelp(const char *Cmd) {
int CmdSmartcard(const char *Cmd) {
clearCommandBuffer();
CmdsParse(CommandTable, Cmd);
return 0;
return CmdsParse(CommandTable, Cmd);
}
int ExchangeAPDUSC(uint8_t *datain, int datainlen, bool activateCard, bool leaveSignalON, uint8_t *dataout, int maxdataoutlen, int *dataoutlen) {