mirror of
https://github.com/liquidraver/ZephCore.git
synced 2026-10-15 15:49:54 +00:00
track zephyr main 3e8f38faf93: rebase patches, lora 0.9 api, nrf clock split, s3 heap, lr11xx/lr20xx dc preamble guard, usb kick loop fix
This commit is contained in:
@@ -193,7 +193,12 @@ static void cli_uart_isr(const struct device *dev, void *user_data)
|
||||
{
|
||||
ARG_UNUSED(user_data);
|
||||
|
||||
while (uart_irq_update(dev) && uart_irq_is_pending(dev)) {
|
||||
for (;;) {
|
||||
uart_irq_update(dev);
|
||||
if (uart_irq_is_pending(dev) <= 0) {
|
||||
break;
|
||||
}
|
||||
|
||||
if (uart_irq_rx_ready(dev)) {
|
||||
uint8_t buf[64];
|
||||
int recv_len = uart_fifo_read(dev, buf, sizeof(buf));
|
||||
|
||||
Reference in New Issue
Block a user