Skip to content

Commit

Permalink
irq: Fixed debug_uart priority in comment
Browse files Browse the repository at this point in the history
Due to commit: 43edb28, debug_uart NIVC priority
has been reduced to 0xF for fixing issue #55.

So the comment in irq needs to change to 0xF,
instead of 0x2.
  • Loading branch information
Louie Lu committed Oct 7, 2016
1 parent 5834887 commit 49f66ef
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions platform/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,9 @@ void irq_init(void)
NVIC_SetPriority(BusFault_IRQn, 0x1, 0);
NVIC_SetPriority(UsageFault_IRQn, 0x1, 0);

/* Priority 0x2 - debug_uart */

NVIC_SetPriority(SysTick_IRQn, 0x3, 0);

/* Priority 0xF - debug_uart */
NVIC_SetPriority(SVCall_IRQn, 0xF, 0);
NVIC_SetPriority(PendSV_IRQn, 0xF, 0);
}
Expand Down

0 comments on commit 49f66ef

Please sign in to comment.