============================================================================= reinitRadio() - use base class initialization with saved values =============================================================================
| 1080 | // reinitRadio() - use base class initialization with saved values |
| 1081 | //============================================================================= |
| 1082 | bool RFM69::reinitRadio() { |
| 1083 | bool haveEncryptKey = _haveEncryptKey; |
| 1084 | if (!initialize(_freqBand, _address, _networkID)) return false; |
| 1085 | if (haveEncryptKey) encrypt(_encryptKey); // Restore the encryption key if necessary |
| 1086 | if (_isHighSpeed) writeReg(REG_LNA, (readReg(REG_LNA) & ~0x3) | RF_LNA_GAINSELECT_AUTO); |
| 1087 | return true; |
| 1088 | } |
| 1089 | |
| 1090 | static uint32_t getUsForResolution(uint8_t resolution) { |
| 1091 | switch (resolution) { |
nothing calls this directly
no outgoing calls
no test coverage detected