diff --git a/src/mesh/LR11x0Interface.h b/src/mesh/LR11x0Interface.h index 94a6de01df..cbb0f89283 100644 --- a/src/mesh/LR11x0Interface.h +++ b/src/mesh/LR11x0Interface.h @@ -71,11 +71,7 @@ template class LR11x0Interface : public RadioLibInterface { pktType = 0xEE; typeErr = lora.getPacketType(&pktType); -#ifdef LR11X0_READ_CHIP_MODE mode = this->readChipMode(); -#else - mode = 0xEE; // not compiled in on this board -#endif irq = lora.getIrqFlags(); return true; // always report: a failed GetPacketType is the case of interest, not a reason to stay silent } diff --git a/src/mesh/LR20x0Interface.h b/src/mesh/LR20x0Interface.h index 5d952bf438..a2f9d08173 100644 --- a/src/mesh/LR20x0Interface.h +++ b/src/mesh/LR20x0Interface.h @@ -78,11 +78,7 @@ template class LR20x0Interface : public RadioLibInterface { pktType = 0xEE; typeErr = lora.getPacketType(&pktType); -#ifdef LR2021_READ_CHIP_MODE mode = this->readChipMode(); -#else - mode = 0xEE; // not compiled in on this board -#endif irq = lora.getIrqFlags(); return true; // always report: a failed GetPacketType is the case of interest, not a reason to stay silent }