summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrobert-hh <robert@hammelrath.com>2022-07-17 08:43:02 +0200
committerDamien George <damien@micropython.org>2022-09-13 18:35:48 +1000
commit65ce7d7ade17f7f9ac2c5fbb75ad5d28078f8490 (patch)
tree3b8e8b2864d8d67ecaccc6b56f3dc462c986e3a8
parent6c376a93067230b3b9d7d4adc1b804df18b12dcd (diff)
mimxrt/machine_uart: Drop a few commented lines about TX ring buffer.
-rw-r--r--ports/mimxrt/machine_uart.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/ports/mimxrt/machine_uart.c b/ports/mimxrt/machine_uart.c
index 302244f72..1b0c06333 100644
--- a/ports/mimxrt/machine_uart.c
+++ b/ports/mimxrt/machine_uart.c
@@ -244,12 +244,6 @@ STATIC mp_obj_t machine_uart_init_helper(machine_uart_obj_t *self, size_t n_args
LPUART_EnableTx(self->lpuart, false);
self->lpuart->STAT |= 1 << LPUART_STAT_BRK13_SHIFT;
LPUART_EnableTx(self->lpuart, true);
-
- // Allocate the TX ring buffer. Not used yet, but maybe later.
-
- // ringbuf_alloc(&(self->write_buffer), txbuf_len + 1);
- // MP_STATE_PORT(rp2_uart_tx_buffer[uart_id]) = self->write_buffer.buf;
-
}
return MP_OBJ_FROM_PTR(self);