From: jacob.eva Date: Wed, 18 Jun 2025 20:36:53 +0000 (+0100) Subject: Fix infinite RX detection bug X-Git-Url: https://git.tnoah.ca/?a=commitdiff_plain;h=bf5c41024d678d6b03a053c215fe6f294d0c9e31;p=lora-radio.git Fix infinite RX detection bug --- diff --git a/RNode_Firmware_CE.ino b/RNode_Firmware_CE.ino index 39579b5..d02da4c 100644 --- a/RNode_Firmware_CE.ino +++ b/RNode_Firmware_CE.ino @@ -589,6 +589,12 @@ void ISR_VECT receive_callback(uint8_t index, int packet_size) { ready = true; } + #if MCU_VARIANT == MCU_NRF52 + // Temporary fix for permanent preamble detected bug + // TODO: figure out how to prevent the timing issue which causes the IRQ to never be cleared + interface_obj[0]->getPacketValidity(); + #endif + if (ready) { queue_packet(selected_radio, index); }