Skip to content

Commit

Permalink
zephyr/src: Remove k_yield() at the end of console_irq_input_hook().
Browse files Browse the repository at this point in the history
Some boards like the nrf52840dk crash immediatelly after boot when
k_yield() is executed in this function.  It also makes the REPL randomly
lock up on other boards like the nucleo_wb55rg.

Signed-off-by: danicampora <danicampora@gmail.com>
  • Loading branch information
danicampora authored and dpgeorge committed Sep 6, 2024
1 parent 74d6dba commit 1c0dc2a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion ports/zephyr/src/zephyr_getchar.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ static int console_irq_input_hook(uint8_t ch) {
}
// printk("%x\n", ch);
k_sem_give(&uart_sem);
k_yield();
return 1;
}

Expand Down

0 comments on commit 1c0dc2a

Please sign in to comment.