fix: 'hf 15 dump' memset bug

This commit is contained in:
iceman1001 2017-09-05 09:53:20 +02:00
parent 9d0ce1e874
commit b526492d3d

View file

@ -641,7 +641,7 @@ int CmdHF15Dump(const char*Cmd) {
uint8_t *recv = NULL;
uint8_t data[256*4] = {0};
memset(data, sizeof(data), 0);
memset(data, 0, sizeof(data));
UsbCommand resp;
UsbCommand c = {CMD_ISO_15693_COMMAND, {0, 1, 1}}; // len,speed,recv?