mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-27 20:56:35 +00:00
Fixed a compilation error: added conditional compilation
This commit is contained in:
parent
ad484ad194
commit
a3391ddc2b
@ -106,8 +106,10 @@ void PN532_Init(void) {
|
|||||||
PN532_SAMConfig();
|
PN532_SAMConfig();
|
||||||
AddLog(LOG_LEVEL_INFO,"NFC: PN532 NFC Reader detected v%u.%u",(ver>>16) & 0xFF, (ver>>8) & 0xFF);
|
AddLog(LOG_LEVEL_INFO,"NFC: PN532 NFC Reader detected v%u.%u",(ver>>16) & 0xFF, (ver>>8) & 0xFF);
|
||||||
Pn532.present = true;
|
Pn532.present = true;
|
||||||
|
#ifdef USE_PN532_DATA_FUNCTION
|
||||||
Pn532.pwd_auth=Settings->pn532_password;
|
Pn532.pwd_auth=Settings->pn532_password;
|
||||||
Pn532.pwd_pack=Settings->pn532_pack;
|
Pn532.pwd_pack=Settings->pn532_pack;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user