mimxrt10xx: Fix bogus assertion.
.. as noted by @d-c-d
This commit is contained in:
parent
7471e978bb
commit
cb29ad0846
1 changed files with 1 additions and 1 deletions
|
|
@ -216,7 +216,7 @@ void common_hal_busio_uart_construct(busio_uart_obj_t *self,
|
|||
if (self->rx) {
|
||||
self->uart = mcu_uart_banks[self->rx->bank_idx - 1];
|
||||
} else {
|
||||
assert(self->rx);
|
||||
assert(self->tx);
|
||||
self->uart = mcu_uart_banks[self->tx->bank_idx - 1];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue