This commit is contained in:
iceman1001 2018-06-03 23:32:02 +02:00
commit a2c7158f78
13 changed files with 25 additions and 30 deletions

View file

@ -264,10 +264,8 @@ fail:
// Get the state of the proxmark, backwards compatible
static int get_proxmark_state(uint32_t *state)
{
UsbCommand c;
c.cmd = CMD_DEVICE_INFO;
UsbCommand c = {CMD_DEVICE_INFO};
SendCommand(&c);
UsbCommand resp;
ReceiveCommand(&resp);