zephyr/subsys/console
Joakim Andersson 1738f0e64b console: tty: Fix k_sem_take with wait time from ISR
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>
2020-06-17 17:10:08 +02:00
..
CMakeLists.txt console: Remove deprecated function console_register_line_input 2019-09-18 19:14:25 -05:00
getchar.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
getline.c cleanup: include/: move uart.h to drivers/uart.h 2019-06-27 22:55:49 -04:00
Kconfig console: Port to the new timeout API 2020-05-07 11:01:55 +02:00
tty.c console: tty: Fix k_sem_take with wait time from ISR 2020-06-17 17:10:08 +02:00