mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-29 05:36:39 +00:00
Merge pull request #4796 from andrethomas/development
PN532 - Housekeeping
This commit is contained in:
commit
635edc2cab
@ -376,7 +376,9 @@ void GetFeatures(void)
|
|||||||
#ifdef USE_MAX31855
|
#ifdef USE_MAX31855
|
||||||
feature_sns2 |= 0x00080000; // xsns_39_max31855.ino
|
feature_sns2 |= 0x00080000; // xsns_39_max31855.ino
|
||||||
#endif
|
#endif
|
||||||
// feature_sns2 |= 0x00100000;
|
#ifdef USE_PN532_I2C
|
||||||
|
feature_sns2 |= 0x00100000; // xsns_40_pn532_i2c.ino
|
||||||
|
#endif
|
||||||
// feature_sns2 |= 0x00200000;
|
// feature_sns2 |= 0x00200000;
|
||||||
// feature_sns2 |= 0x00400000;
|
// feature_sns2 |= 0x00400000;
|
||||||
// feature_sns2 |= 0x00800000;
|
// 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};
|
const uint8_t PN532_ACK[] = {0, 0, 0xFF, 0, 0xFF, 0};
|
||||||
uint8_t ackBuf[sizeof(PN532_ACK)];
|
uint8_t ackBuf[sizeof(PN532_ACK)];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user