Fix k_sem_take called with a timeout value other than K_NO_WAIT from isr. This happens when tty_irq_input_hook calls tty_putchar with the `~` character to give the user a clue that input was lost. This resulted in the following assert in sem.c: ASSERTION FAIL @ WEST_TOPDIR/zephyr/kernel/sem.c:140 Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| getchar.c | ||
| getline.c | ||
| Kconfig | ||
| tty.c | ||