Skip to content

Commit 950df23

Browse files
committed
Bump systick IRQ priority to second highest
1 parent dab0842 commit 950df23

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cores/arduino/wiring.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ void init( void )
6565
// Capture error
6666
while ( 1 ) ;
6767
}
68+
NVIC_SetPriority (SysTick_IRQn, (1 << __NVIC_PRIO_BITS) - 2); /* set Priority for Systick Interrupt (2nd lowest) */
6869

6970
// Clock PORT for Digital I/O
7071
// PM->APBBMASK.reg |= PM_APBBMASK_PORT ;

0 commit comments

Comments
 (0)