File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 1
1
/* *
2
2
* The MySensors Arduino library handles the wireless radio link and protocol
3
3
* between your home built sensors/actuators and HA controller of choice.
4
- * The sensors forms a self healing radio network with optional repeaters. Each
4
+ * The sensors formrs a self healing radio network with optional repeaters. Each
5
5
* repeater and gateway builds a routing tables in EEPROM which keeps track of
6
6
* the
7
7
* network topology allowing messages to be routed to nodes.
@@ -636,10 +636,6 @@ extern "C" {
636
636
(NRF_RADIO->STATE == RADIO_STATE_STATE_RxIdle) or
637
637
(NRF_RADIO->STATE == RADIO_STATE_STATE_RxDisable) or
638
638
(NRF_RADIO->STATE == RADIO_STATE_STATE_TxRu)) {
639
- #ifdef NRF52
640
- // RX end, stop timer (PAN102)
641
- _stopTimer ();
642
- #endif
643
639
if (NRF_RADIO->CRCSTATUS ) {
644
640
// Ensure no ACK package is recieved
645
641
if (NRF_RADIO->RXMATCH != NRF5_ESB_TX_ADDR) {
@@ -664,8 +660,11 @@ extern "C" {
664
660
rx_buffer.noack = 0 ;
665
661
#endif
666
662
} else {
663
+ // Buffer is full
667
664
// Stop ACK
668
665
_stopACK ();
666
+ // Increment pkgid allowing receive the package again
667
+ package_ids[NRF_RADIO->RXMATCH ]++;
669
668
}
670
669
}
671
670
} else {
You can’t perform that action at this time.
0 commit comments