| 548 | } |
| 549 | |
| 550 | void RFM69::writeReg(uint8_t addr, uint8_t value) { |
| 551 | select(); |
| 552 | _spi->transfer(addr | 0x80); |
| 553 | _spi->transfer(value); |
| 554 | unselect(); |
| 555 | } |
| 556 | |
| 557 | // select the RFM69 transceiver (save SPI settings, set CS low) |
| 558 | void RFM69::select() { |
nothing calls this directly
no outgoing calls
no test coverage detected