mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-06-07 13:24:56 +02:00
Partially revert make SPI CS pin optional (#1187)
This commit is contained in:
@@ -31,8 +31,7 @@ void PN532::setup() {
|
||||
// (this may time out, but that's ok)
|
||||
// 3. Send SAM config command with normal mode without waiting for ready bit (IRQ not initialized yet)
|
||||
// 4. Probably optional, send SAM config again, this time checking ACK and return value
|
||||
if (this->cs_)
|
||||
this->cs_->digital_write(false);
|
||||
this->cs_->digital_write(false);
|
||||
delay(10);
|
||||
|
||||
// send dummy firmware version command to get synced up
|
||||
|
||||
Reference in New Issue
Block a user