mirror of https://github.com/arendst/Tasmota.git
PN532 - Housekeeping
This commit is contained in:
parent
fe0c45a854
commit
32c167d208
|
@ -376,7 +376,9 @@ void GetFeatures(void)
|
|||
#ifdef USE_MAX31855
|
||||
feature_sns2 |= 0x00080000; // xsns_39_max31855.ino
|
||||
#endif
|
||||
// feature_sns2 |= 0x00100000;
|
||||
#ifdef USE_PN532_I2C
|
||||
feature_sns2 |= 0x00100000; // xsns_40_pn532_i2c.ino
|
||||
#endif
|
||||
// feature_sns2 |= 0x00200000;
|
||||
// feature_sns2 |= 0x00400000;
|
||||
// feature_sns2 |= 0x00800000;
|
||||
|
|
|
@ -144,7 +144,7 @@ int16_t PN532_readResponse(uint8_t buf[], uint8_t len)
|
|||
}
|
||||
|
||||
|
||||
int8_t PN532_readAckFrame()
|
||||
int8_t PN532_readAckFrame(void)
|
||||
{
|
||||
const uint8_t PN532_ACK[] = {0, 0, 0xFF, 0, 0xFF, 0};
|
||||
uint8_t ackBuf[sizeof(PN532_ACK)];
|
||||
|
|
Loading…
Reference in New Issue