summaryrefslogtreecommitdiffstatshomepage
path: root/ports/stm32/machine_uart.c
diff options
context:
space:
mode:
Diffstat (limited to 'ports/stm32/machine_uart.c')
-rw-r--r--ports/stm32/machine_uart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/stm32/machine_uart.c b/ports/stm32/machine_uart.c
index 8444b29989..8f1faea4b6 100644
--- a/ports/stm32/machine_uart.c
+++ b/ports/stm32/machine_uart.c
@@ -399,7 +399,7 @@ static bool mp_machine_uart_txdone(machine_uart_obj_t *self) {
// Send a break condition.
static void mp_machine_uart_sendbreak(machine_uart_obj_t *self) {
- #if defined(STM32F0) || defined(STM32F7) || defined(STM32G0) || defined(STM32G4) || defined(STM32H5) || defined(STM32H7) || defined(STM32L0) || defined(STM32L4) || defined(STM32WB) || defined(STM32WL)
+ #if defined(STM32F0) || defined(STM32F7) || defined(STM32G0) || defined(STM32G4) || defined(STM32H5) || defined(STM32H7) || defined(STM32L0) || defined(STM32L4) || defined(STM32N6) || defined(STM32WB) || defined(STM32WL)
self->uartx->RQR = USART_RQR_SBKRQ; // write-only register
#else
self->uartx->CR1 |= USART_CR1_SBK;