Calibrate configured frequency for AGC reset

This commit is contained in:
Wessel Nieboer
2026-02-21 17:34:28 +01:00
parent f54948e06d
commit 85f764a114
4 changed files with 12 additions and 2 deletions

View File

@@ -20,6 +20,8 @@ class CustomLR1110 : public LR1110 {
return len;
}
float getFreqMHz() const { return freqMHz; }
bool isReceiving() {
uint16_t irq = getIrqStatus();
bool detected = ((irq & RADIOLIB_LR11X0_IRQ_SYNC_WORD_HEADER_VALID) || (irq & RADIOLIB_LR11X0_IRQ_PREAMBLE_DETECTED));