Commit 98031b82 authored by Henrique Silva's avatar Henrique Silva

Fix interruption priority on FPGA reset button

parent 7055910f
......@@ -159,7 +159,7 @@ void payload_init( void )
/* Configure FPGA reset button interruption on front panel */
Chip_IOCON_PinMux(LPC_IOCON, GPIO_FRONT_BUTTON_PORT, GPIO_FRONT_BUTTON_PIN, IOCON_MODE_INACT, IOCON_FUNC1);
irq_set_priority( EINT2_IRQn, configMAX_SYSCALL_INTERRUPT_PRIORITY - 1);
irq_set_priority( EINT2_IRQn, configMAX_SYSCALL_INTERRUPT_PRIORITY);
irq_enable( EINT2_IRQn );
if (board_info.board_version == BOARD_VERSION_AFC_V3_1) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment