8000 mimxrt/machine_uart: Drop a few commented lines about TX ring buffer. · micropython/micropython@65ce7d7 · GitHub
[go: up one dir, main page]

Skip to content

Commit 65ce7d7

Browse files
robert-hhdpgeorge
authored andcommitted
mimxrt/machine_uart: Drop a few commented lines about TX ring buffer.
1 parent 6c376a9 commit 65ce7d7

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

ports/mimxrt/machine_uart.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -244,12 +244,6 @@ STATIC mp_obj_t machine_uart_init_helper(machine_uart_obj_t *self, size_t n_args
244244
LPUART_EnableTx(self->lpuart, false);
245245
self->lpuart->STAT |= 1 << LPUART_STAT_BRK13_SHIFT;
246246
LPUART_EnableTx(self->lpuart, true);
247-
248-
// Allocate the TX ring buffer. Not used yet, but maybe later.
249-
250-
// ringbuf_alloc(&(self->write_buffer), txbuf_len + 1);
251-
// MP_STATE_PORT(rp2_uart_tx_buffer[uart_id]) = self->write_buffer.buf;
252-
253247
}
254248

255249
return MP_OBJ_FROM_PTR(self);

0 commit comments

Comments
 (0)
0