mirror of https://github.com/arendst/Tasmota.git
Update xsns_40_pn532_i2c.ino
This commit is contained in:
parent
549080b850
commit
4f568fc365
|
@ -236,7 +236,7 @@ bool PN532_SAMConfig(void)
|
||||||
pn532_i2c_packetbuffer[0] = PN532_COMMAND_SAMCONFIGURATION;
|
pn532_i2c_packetbuffer[0] = PN532_COMMAND_SAMCONFIGURATION;
|
||||||
pn532_i2c_packetbuffer[1] = 0x01; // normal mode;
|
pn532_i2c_packetbuffer[1] = 0x01; // normal mode;
|
||||||
pn532_i2c_packetbuffer[2] = 0x01; // timeout 50ms * 1 = 50ms
|
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))
|
if (PN532_writeCommand(pn532_i2c_packetbuffer, 4))
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue