mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-26 15:03:53 +01:00
samd21: don't change priority of interrupts, this is really evil
This commit is contained in:
parent
7bf121903a
commit
70c8f355c5
@ -129,7 +129,6 @@ int rtc_set_alarm(struct tm *time, rtc_alarm_cb_t cb, void *arg)
|
||||
while (rtcMode2->STATUS.bit.SYNCBUSY);
|
||||
|
||||
/* Setup interrupt */
|
||||
NVIC_SetPriority(RTC_IRQn, 10);
|
||||
NVIC_EnableIRQ(RTC_IRQn);
|
||||
|
||||
/* Enable IRQ */
|
||||
|
||||
@ -102,7 +102,6 @@ void rtt_init(void)
|
||||
while (rtcMode0->STATUS.bit.SYNCBUSY);
|
||||
|
||||
/* Setup interrupt */
|
||||
NVIC_SetPriority(RTT_IRQ, RTT_IRQ_PRIO);
|
||||
NVIC_EnableIRQ(RTT_IRQ);
|
||||
|
||||
/* Enable RTC */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user