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:
parent
8b8218276e
commit
4cbd3a91b2
@ -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();
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user