Revert "subsys/console: Yield on char availability."
This reverts commit 4e2eaec268
.
It's invalid to call k_yield from ISR. In fact, it'll trigger an
__ASSERT.
Change-Id: Icc7b81c07c2e7df63fe7d5029fac446ac6fe508b
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:
parent
0ab8874fde
commit
253a7f7064
1 changed files with 0 additions and 4 deletions
|
@ -30,10 +30,6 @@ static int console_irq_input_hook(uint8_t c)
|
|||
uart_ringbuf[i_put] = c;
|
||||
i_put = i_next;
|
||||
k_sem_give(&uart_sem);
|
||||
/** Allow waiting threads to pick up a char ASAP, or there can be
|
||||
* buffer overflow.
|
||||
*/
|
||||
k_yield();
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue