mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-06-07 13:24:56 +02:00
Fix PN532 SPI communication (#1511)
This commit is contained in:
@@ -14,6 +14,8 @@ class PN532I2C : public pn532::PN532, public i2c::I2CDevice {
|
||||
protected:
|
||||
bool write_data(const std::vector<uint8_t> &data) override;
|
||||
bool read_data(std::vector<uint8_t> &data, uint8_t len) override;
|
||||
bool read_response(uint8_t command, std::vector<uint8_t> &data) override;
|
||||
uint8_t read_response_length_();
|
||||
};
|
||||
|
||||
} // namespace pn532_i2c
|
||||
|
||||
Reference in New Issue
Block a user