From 632b2f1660b4aa51deda271f4dc8ef0b5a9695af Mon Sep 17 00:00:00 2001 From: Helmut Tschemernjak Date: Mon, 27 Nov 2017 15:19:43 +0100 Subject: [PATCH] Updated wrongly defined UART3_BASE into USART3_BASE --- targets/TARGET_STM/TARGET_STM32L4/serial_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/targets/TARGET_STM/TARGET_STM32L4/serial_device.c b/targets/TARGET_STM/TARGET_STM32L4/serial_device.c index 8bc710070a..4a9bfbf530 100644 --- a/targets/TARGET_STM/TARGET_STM32L4/serial_device.c +++ b/targets/TARGET_STM/TARGET_STM32L4/serial_device.c @@ -491,7 +491,7 @@ static IRQn_Type serial_get_irq_n(serial_t *obj) irq_n = USART2_IRQn; break; -#if defined(UART3_BASE) +#if defined(USART3_BASE) case 2: irq_n = USART3_IRQn; break;