internal function - for HW/HCW only: enables HiPower for 18-20dBm output should only be used with PA1+PA2
| 634 | // enables HiPower for 18-20dBm output |
| 635 | // should only be used with PA1+PA2 |
| 636 | void RFM69::setHighPowerRegs(bool enable) { |
| 637 | if (!_isRFM69HW || _powerLevel<20) enable=false; |
| 638 | writeReg(REG_TESTPA1, enable ? 0x5D : 0x55); |
| 639 | writeReg(REG_TESTPA2, enable ? 0x7C : 0x70); |
| 640 | } |
| 641 | |
| 642 | // set the slave select (CS) pin |
| 643 | void RFM69::setCS(uint8_t newSPISlaveSelect) { |
nothing calls this directly
no outgoing calls
no test coverage detected