Skip to content

Commit

Permalink
zephyr: serial: Remove unnecessary call to irq_unlock
Browse files Browse the repository at this point in the history
The following commit in Zephyr removed the need to unlock interrupts
when booting in single-threaded mode:
zephyrproject-rtos/zephyr@3b89cf1

Remove the now obsolete lines.

Fixes #302.

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
  • Loading branch information
carlescufi authored and nvlsianpu committed May 20, 2021
1 parent 434bca4 commit 55918ed
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions boot/zephyr/serial_adapter.c
Expand Up @@ -222,11 +222,5 @@ boot_uart_fifo_init(void)

uart_irq_rx_enable(uart_dev);

/* Enable all interrupts unconditionally. Note that this is due
* to Zephyr issue #8393. This should be removed once the
* issue is fixed in upstream Zephyr.
*/
irq_unlock(0);

return 0;
}

0 comments on commit 55918ed

Please sign in to comment.