mirror of
https://github.com/nfc-tools/libnfc.git
synced 2025-12-23 18:50:05 +00:00
Fix - assignment instead of comparison (PCSC driver)
This commit is contained in:
parent
2b5ad9ce0b
commit
1f4d2fb3d4
@ -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(atqa[0] = 0x00 || atqa[0] == 0x03)
|
||||
if(atqa[0] == 0x00 || atqa[0] == 0x03)
|
||||
{
|
||||
memcpy(pnt->nti.nai.abtAtqa,atqa,2);
|
||||
}else {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user