1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

cc2538: move IRQ clear to netdev irq handler

This commit is contained in:
Jose Alamos 2020-06-23 15:37:04 +02:00
parent 8b8218276e
commit 4cbd3a91b2
2 changed files with 3 additions and 3 deletions

View File

@ -64,9 +64,6 @@ void isr_rfcoreerr(void)
void isr_rfcorerxtx(void)
{
RFCORE_SFR_RFIRQF0 = 0;
RFCORE_SFR_RFIRQF1 = 0;
_irq_handler();
cortexm_isr_end();

View File

@ -36,6 +36,9 @@ static netdev_t *_dev;
void _irq_handler(void)
{
RFCORE_SFR_RFIRQF0 = 0;
RFCORE_SFR_RFIRQF1 = 0;
netdev_trigger_event_isr(_dev);
}