Remove unused RX boosted gain mode functions and related preprocessor directives across multiple variants

This commit is contained in:
João Brázio
2026-03-05 18:31:00 +00:00
parent f858f2e4bb
commit 9a95e25ef2
164 changed files with 53 additions and 781 deletions

View File

@@ -84,4 +84,10 @@ class CustomLLCC68 : public LLCC68 {
bool detected = (irq & SX126X_IRQ_HEADER_VALID) || (irq & SX126X_IRQ_PREAMBLE_DETECTED);
return detected;
}
bool getRxBoostedGainMode() {
uint8_t rxGain = 0;
readRegister(RADIOLIB_SX126X_REG_RX_GAIN, &rxGain, 1);
return (rxGain == RADIOLIB_SX126X_RX_GAIN_BOOSTED);
}
};