Skip to content

Commit

Permalink
PN532 - Housekeeping
Browse files Browse the repository at this point in the history
  • Loading branch information
andrethomas committed Jan 3, 2019
1 parent fe0c45a commit 32c167d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion sonoff/support_features.ino
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion sonoff/xsns_40_pn532_i2c.ino
Original file line number Diff line number Diff line change
Expand Up @@ -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)];
Expand Down

0 comments on commit 32c167d

Please sign in to comment.