mirror of
https://github.com/arendst/Tasmota.git
synced 2025-08-04 08:27:41 +00:00
Update xsns_40_pn532_i2c.ino
This commit is contained in:
parent
5dfc8a951b
commit
13b8401089
@ -433,7 +433,6 @@ void PN532_ScanForTag(void)
|
|||||||
if (pn532_i2c_function == 2) {
|
if (pn532_i2c_function == 2) {
|
||||||
#ifdef USE_PN532_DATA_RAW
|
#ifdef USE_PN532_DATA_RAW
|
||||||
if (mifareclassic_WriteDataBlock(1, card_data)) {
|
if (mifareclassic_WriteDataBlock(1, card_data)) {
|
||||||
memcpy(&card_data,&pn532_i2c_newdata,sizeof(card_data));
|
|
||||||
set_success = true;
|
set_success = true;
|
||||||
snprintf_P(log_data, sizeof(log_data),"I2C: PN532 NFC - Data write successful");
|
snprintf_P(log_data, sizeof(log_data),"I2C: PN532 NFC - Data write successful");
|
||||||
AddLog(LOG_LEVEL_INFO);
|
AddLog(LOG_LEVEL_INFO);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user