summaryrefslogtreecommitdiff
path: root/ports/stm32/uart.c
diff options
context:
space:
mode:
authorJim Mussared <jim.mussared@gmail.com>2023-08-09 02:14:13 +1000
committerDamien George <damien@micropython.org>2023-11-03 14:09:08 +1100
commitb4236c7368a8f43a399b48a758f8c36063066d9b (patch)
treef0041201c0f0f4bfee4ac8d6bcdd5707234b90b8 /ports/stm32/uart.c
parent286b1b3ed9da4db156a7fc3fc4f191efb9125aa0 (diff)
stm32: Rename pin_obj_t to machine_pin_obj_t.
This is now consistent with other ports. Also renamed `pin_{board/cpu}_pins_locals_dict` to `machine_pin_{board/cpu}_pins_locals_dict`. This work was funded through GitHub Sponsors. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
Diffstat (limited to 'ports/stm32/uart.c')
-rw-r--r--ports/stm32/uart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/stm32/uart.c b/ports/stm32/uart.c
index 0d648a6fc..83e9e0fdd 100644
--- a/ports/stm32/uart.c
+++ b/ports/stm32/uart.c
@@ -250,7 +250,7 @@ bool uart_init(machine_uart_obj_t *uart_obj,
uint8_t uart_fn = AF_FN_UART;
int uart_unit;
- const pin_obj_t *pins[4] = {0};
+ const machine_pin_obj_t *pins[4] = {0};
switch (uart_obj->uart_id) {
#if defined(MICROPY_HW_UART1_TX) && defined(MICROPY_HW_UART1_RX)