[riot-notifications] [RIOT-OS/RIOT] sys/net/iee802154/radio: add IEEE802154_RADIO_INDICATION_CRC_ERROR (#15397)

José Alamos notifications at github.com
Wed Jan 13 17:29:20 CET 2021


@jia200x commented on this pull request.



> @@ -147,6 +147,16 @@ void ieee802154_submac_ack_timeout_fired(ieee802154_submac_t *submac)
     }
 }
 
+void ieee802154_submac_crc_error_cb(ieee802154_submac_t *submac)
+{
+    ieee802154_dev_t *dev = submac->dev;
+    /* switch back to RX_ON state */
+    ieee802154_radio_request_set_trx_state(dev, IEEE802154_TRX_STATE_TX_ON);

Same here (It should be enough to call here set_trx_state(RX_ON) directly)

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/15397#pullrequestreview-567402299
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210113/a822ddfc/attachment.htm>


More information about the notifications mailing list