mirror of
https://github.com/liberatedsystems/RNode_Firmware_CE.git
synced 2025-08-01 10:56:15 -04:00
Fix infinite RX detection bug
This commit is contained in:
parent
8328f5be6f
commit
bf5c41024d
1 changed files with 6 additions and 0 deletions
|
@ -589,6 +589,12 @@ void ISR_VECT receive_callback(uint8_t index, int packet_size) {
|
||||||
ready = true;
|
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) {
|
if (ready) {
|
||||||
queue_packet(selected_radio, index);
|
queue_packet(selected_radio, index);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue