From 53ed8be45a066d244ebf0356bbe3945db1d3f2d2 Mon Sep 17 00:00:00 2001 From: hathach Date: Fri, 9 Nov 2018 11:38:10 +0700 Subject: [PATCH] set attachInterrupt irq prio to 3 --- changelog.md | 7 +++++-- cores/nRF5/WInterrupts.c | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/changelog.md b/changelog.md index 6b327c8f..a1e10192 100644 --- a/changelog.md +++ b/changelog.md @@ -18,12 +18,15 @@ - Added HwPWM3 for nRF52840 - Added ISR_DEFERRED option for attachInterrupt() to defer callback from ISR context - Added digital_interrupt_deferred sketch for demo +- Added support for using the Low Frequency RC oscillator ( PR #144 thanks to @jeremypoulter ) + - USE_LFRC or USE_LFXO must be defined in board's variant.h +- Fixed Scanner running state when timeout ( PR #186 thanks to @Ryscho ) ## 0.8.6 - Fixed dbgDumpMemory for buffer > 255 byte, thanks to @airbornemint -- Added setConnSupervisionTimeout and setConnSupervisionTimeoutMS, thanks to @airbornemint -- Decrease gpio's interrupt level to 2 to avoid conlfict with SD timing critical task, thanks to @Nenik +- Added setConnSupervisionTimeout and setConnSupervisionTimeoutMS ( PR #177 thanks to @airbornemint ) +- Decrease gpio's interrupt level to 2 to avoid conlfict with SD timing critical task ( PR #179 thanks to @Nenik ) - Fixed #174 window build error with Arduino 1.8.6 with verbose = off ## 0.8.5 diff --git a/cores/nRF5/WInterrupts.c b/cores/nRF5/WInterrupts.c index 6982c049..f208176f 100644 --- a/cores/nRF5/WInterrupts.c +++ b/cores/nRF5/WInterrupts.c @@ -44,7 +44,7 @@ static void __initialize() NVIC_DisableIRQ(GPIOTE_IRQn); NVIC_ClearPendingIRQ(GPIOTE_IRQn); - NVIC_SetPriority(GPIOTE_IRQn, 2); + NVIC_SetPriority(GPIOTE_IRQn, 3); NVIC_EnableIRQ(GPIOTE_IRQn); }