8000 fix broadcom UART ringbuf init · adafruit/circuitpython@e25c195 · GitHub
[go: up one dir, main page]

Skip to content

Commit e25c195

Browse files
committed
fix broadcom UART ringbuf init
1 parent ea15a91 commit e25c195

File tree

1 file changed

+0
-1
lines changed
  • ports/broadcom/common-hal/busio

1 file changed

+0
-1
lines changed

ports/broadcom/common-hal/busio/UART.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,6 @@ void common_hal_busio_uart_construct(busio_uart_obj_t *self,
211211
// Use the provided buffer when given.
212212
if (receiver_buffer != NULL) {
213213
ringbuf_init(&self->ringbuf, receiver_buffer, receiver_buffer_size);
214-
self->ringbuf = (ringbuf_t) { receiver_buffer, receiver_buffer_size };
215214
} else {
216215
// Initially allocate the UART' 3DF9 ;s buffer in the long-lived part of the
217216
// heap. UARTs are generally long-lived objects, but the "make long-

0 commit comments

Comments
 (0)
0