Fix infinite RX detection bug

This commit is contained in:
jacob.eva 2025-06-18 21:36:53 +01:00
parent 8328f5be6f
commit bf5c41024d
No known key found for this signature in database
GPG key ID: 0B92E083BBCCAA1E

View file

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