Skip to content

Commit 9e591da

Browse files
committed
fix(slip): Allow reception into second buffer even if first buffer is complete
This was causing issues especially for slower chips like ESP32-C2 26MHz. Buffers are now handled internally in SLIP library, this is leftover from single-buffer implementation.
1 parent c9822bb commit 9e591da

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/transport.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,6 @@ void uart_rx_interrupt_handler()
2727
for (uint32_t i = 0; i < count; ++i) {
2828
uint8_t byte = stub_lib_uart_read_rxfifo_byte(UART_NUM_0);
2929
slip_recv_byte(byte);
30-
31-
// Cannot process more bytes until frame is processed
32-
if (slip_is_frame_complete() || slip_is_frame_error()) {
33-
break;
34-
}
3530
}
3631
}
3732
}

0 commit comments

Comments
 (0)