fix compilation error
This commit is contained in:
@@ -9,7 +9,7 @@ class CustomLLCC68 : public LLCC68 {
|
|||||||
CustomLLCC68(Module *mod) : LLCC68(mod) { }
|
CustomLLCC68(Module *mod) : LLCC68(mod) { }
|
||||||
|
|
||||||
bool isReceiving() {
|
bool isReceiving() {
|
||||||
uint16_t irq = getIrqStatus();
|
uint16_t irq = getIrqFlags();
|
||||||
bool hasPreamble = (irq & SX126X_IRQ_HEADER_VALID);
|
bool hasPreamble = (irq & SX126X_IRQ_HEADER_VALID);
|
||||||
return hasPreamble;
|
return hasPreamble;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user