Fix GET_VERSION command for NTAG devices

This commit is contained in:
Lee Mracek 2019-12-30 19:01:43 -08:00 committed by Romain Tartière
parent 0480b7248e
commit e95406c0d1

View file

@ -712,10 +712,9 @@ bool
ntag21x_is_auth_supported(nfc_device *device, nfc_iso14443a_info nai) ntag21x_is_auth_supported(nfc_device *device, nfc_iso14443a_info nai)
{ {
int ret; int ret;
uint8_t cmd_step1[2]; uint8_t cmd_step1[1];
uint8_t res_step1[8]; uint8_t res_step1[8];
cmd_step1[0] = 0x60; cmd_step1[0] = 0x60;
cmd_step1[1] = 0x00;
nfc_target pnti; nfc_target pnti;
nfc_modulation modulation = { nfc_modulation modulation = {