8000
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 ea15a91 commit e25c195Copy full SHA for e25c195
ports/broadcom/common-hal/busio/UART.c
@@ -211,7 +211,6 @@ void common_hal_busio_uart_construct(busio_uart_obj_t *self,
211
// Use the provided buffer when given.
212
if (receiver_buffer != NULL) {
213
ringbuf_init(&self->ringbuf, receiver_buffer, receiver_buffer_size);
214
- self->ringbuf = (ringbuf_t) { receiver_buffer, receiver_buffer_size };
215
} else {
216
// Initially allocate the UART' 3DF9 ;s buffer in the long-lived part of the
217
// heap. UARTs are generally long-lived objects, but the "make long-
0 commit comments