unselect the RFM69 transceiver (set CS high, restore SPI settings)
| 581 | |
| 582 | // unselect the RFM69 transceiver (set CS high, restore SPI settings) |
| 583 | void RFM69::unselect() { |
| 584 | digitalWrite(_slaveSelectPin, HIGH); |
| 585 | #ifdef SPI_HAS_TRANSACTION |
| 586 | _spi->endTransaction(); |
| 587 | #endif |
| 588 | // restore SPI settings to what they were before talking to RFM69 |
| 589 | #if defined (SPCR) && defined (SPSR) |
| 590 | SPCR = _SPCR; |
| 591 | SPSR = _SPSR; |
| 592 | #endif |
| 593 | } |
| 594 | |
| 595 | // true = disable ID filtering to capture all packets on network, regardless of TARGETID |
| 596 | // false (default) = enable node/broadcast ID filtering to capture only frames sent to this/broadcast address |
nothing calls this directly
no outgoing calls
no test coverage detected