for RFM69 HW/HCW only: you must call setHighPower(true) after initialize() or else transmission won't work
| 621 | |
| 622 | // for RFM69 HW/HCW only: you must call setHighPower(true) after initialize() or else transmission won't work |
| 623 | void RFM69::setHighPower(bool _isRFM69HW_HCW) { |
| 624 | _isRFM69HW = _isRFM69HW_HCW; |
| 625 | writeReg(REG_OCP, _isRFM69HW ? RF_OCP_OFF : RF_OCP_ON); // disable OverCurrentProtection for HW/HCW |
| 626 | setPowerLevel(_powerLevel); |
| 627 | } |
| 628 | |
| 629 | bool RFM69::isHighPower() { |
| 630 | return _isRFM69HW; |
nothing calls this directly
no outgoing calls
no test coverage detected