fix compilation error

This commit is contained in:
lincomatic 2025-03-16 16:49:55 -07:00
parent 4113b20b4c
commit 0eed29b99e

View file

@ -9,7 +9,7 @@ class CustomLLCC68 : public LLCC68 {
CustomLLCC68(Module *mod) : LLCC68(mod) { }
bool isReceiving() {
uint16_t irq = getIrqStatus();
uint16_t irq = getIrqFlags();
bool hasPreamble = (irq & SX126X_IRQ_HEADER_VALID);
return hasPreamble;
}