Closed eco747 closed 1 year ago
In the writeCommand, the buffer is too small (line 1734)
void Adafruit_PN532::writecommand(uint8_t *cmd, uint8_t cmdlen) { if (spi_dev != NULL) { // SPI command write. uint8_t checksum; uint8_t packet[8 + cmdlen]; //<<<<<<<<<<<<<< here, should be 8+cmdLen+1 uint8_t *p = packet; cmdlen++;
Closing. Should be fixed by #109.
In the writeCommand, the buffer is too small (line 1734)