fix warnings and compile errors

This commit is contained in:
Conor Patrick
2019-02-26 14:13:29 -05:00
parent 347d0942b1
commit ecf994b647
3 changed files with 8 additions and 5 deletions

View File

@ -444,7 +444,7 @@ void nfc_process_iblock(uint8_t * buf, int len)
else
{
nfc_write_response(buf[0], SW_FILE_NOT_FOUND);
printf1(TAG_NFC, "NOT selected\r\n"); dump_hex1(TAG_NFC,res, 3);
printf1(TAG_NFC, "NOT selected\r\n"); dump_hex1(TAG_NFC,payload, plen);
}
}
break;
@ -495,7 +495,7 @@ void nfc_process_iblock(uint8_t * buf, int len)
printf1(TAG_NFC,"U2F Register answered %d (took %d)\r\n", millis(), millis() - t1);
printf1(TAG_NFC,"U2F Register answered %d (took %d)\r\n", millis(), timestamp());
break;
case APDU_FIDO_U2F_AUTHENTICATE:
@ -532,8 +532,7 @@ void nfc_process_iblock(uint8_t * buf, int len)
break;
}
timestamp();
printf1(TAG_NFC, "FIDO2 CTAP message. %d\r\n", t1);
printf1(TAG_NFC, "FIDO2 CTAP message. %d\r\n", timestamp());
WTX_on(WTX_TIME_DEFAULT);
ctap_response_init(&ctap_resp);