1
0
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:
daniel-k 2015-10-12 19:53:43 +02:00
parent 7bf121903a
commit 70c8f355c5
2 changed files with 0 additions and 2 deletions

View File

@ -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 */

View File

@ -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 */