Update xsns_40_pn532_i2c.ino

This commit is contained in:
Andre Thomas 2019-01-08 21:15:14 +02:00 committed by GitHub
parent 549080b850
commit 4f568fc365
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -236,7 +236,7 @@ bool PN532_SAMConfig(void)
pn532_i2c_packetbuffer[0] = PN532_COMMAND_SAMCONFIGURATION;
pn532_i2c_packetbuffer[1] = 0x01; // normal mode;
pn532_i2c_packetbuffer[2] = 0x01; // timeout 50ms * 1 = 50ms
pn532_i2c_packetbuffer[3] = 0x01; // Disable IRQ pin
pn532_i2c_packetbuffer[3] = 0x00; // Disable IRQ pin
if (PN532_writeCommand(pn532_i2c_packetbuffer, 4))
return false;