From bf5c41024d678d6b03a053c215fe6f294d0c9e31 Mon Sep 17 00:00:00 2001 From: "jacob.eva" Date: Wed, 18 Jun 2025 21:36:53 +0100 Subject: [PATCH] Fix infinite RX detection bug --- RNode_Firmware_CE.ino | 6 ++++++ 1 file changed, 6 insertions(+) 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); }