Skip to content

Commit 6b39bdf

Browse files
committed
Bump systick IRQ priority to second highest
1 parent 6d7c9f7 commit 6b39bdf

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)