lincomatic 1 год назад
Родитель
Сommit
0eed29b99e
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/helpers/CustomLLCC68.h

+ 1 - 1
src/helpers/CustomLLCC68.h

@@ -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;
     }