Skip to content

Commit 8f41ab6

Browse files
nobodyguysandeepmistry
authored andcommitted
Fixed GPIOTE interrupt priority
Priority 1 is reserved by the SoftDevice and shall not be used by application code
1 parent e3da01b commit 8f41ab6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/nRF5/WInterrupts.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ static void __initialize()
4242

4343
NVIC_DisableIRQ(GPIOTE_IRQn);
4444
NVIC_ClearPendingIRQ(GPIOTE_IRQn);
45-
NVIC_SetPriority(GPIOTE_IRQn, 1);
45+
NVIC_SetPriority(GPIOTE_IRQn, 2);
4646
NVIC_EnableIRQ(GPIOTE_IRQn);
4747
}
4848

0 commit comments

Comments
 (0)