Perhaps to make it a bit smarter we can remember that RX was stalled in `uart_console_rx_char` (line 211) and only restart in such case. I'm not 100% sure if this won't create some race though...
Also, restart can be done after leaving critical section above (line 249) since we already have free space in ring buffer and can accept new data immediately. [ Full content available at: https://github.com/apache/mynewt-core/pull/1390 ] This message was relayed via gitbox.apache.org for [email protected]
