We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92019b1 commit 8bbb889Copy full SHA for 8bbb889
tests/drivers/uart/uart_emul/src/main.c
@@ -167,7 +167,7 @@ static void uart_emul_isr_handle_rx_ready(struct uart_emul_fixture *fixture)
167
uint32_t rx_content_it;
168
int ret;
169
170
- if (fixture->tx_remaining) {
+ if (fixture->rx_remaining) {
171
rx_content_it = sizeof(fixture->rx_content) - fixture->rx_remaining;
172
ret = uart_fifo_read(fixture->dev, &fixture->rx_content[rx_content_it],
173
fixture->rx_remaining);
0 commit comments