Merge pull request #626 from aviallon/fix-typo-pcsc

Fix typo in variable name in pcsc.c
This commit is contained in:
Philippe Teuwen 2020-11-02 13:24:33 +01:00 committed by GitHub
commit 7ebf9b92d6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -352,7 +352,7 @@ static int pcsc_props_to_target(struct nfc_device *pnd, uint8_t it, const uint8_
uint8_t atqa[2];
pcsc_get_atqa(pnd, atqa, sizeof(atqa));
//ATQA Coding of NXP Contactless Card ICs
if(ataq[0] = 0x00 || atqa[0] == 0x03)
if(atqa[0] = 0x00 || atqa[0] == 0x03)
{
memcpy(pnt->nti.nai.abtAtqa,atqa,2);
}else {