aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--os/hal/platforms/STM32/serial_lld.c2
-rw-r--r--os/hal/platforms/STM32F0xx/stm32_dma.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/platforms/STM32/serial_lld.c b/os/hal/platforms/STM32/serial_lld.c
index a2eefc5db..30c1d9d2d 100644
--- a/os/hal/platforms/STM32/serial_lld.c
+++ b/os/hal/platforms/STM32/serial_lld.c
@@ -83,7 +83,7 @@ static const SerialConfig default_config =
/*===========================================================================*/
/* Local functions have different implementations depending on the USART type,
- STM32F0xx devices and newer have and enhanced peripheral with slightly
+ STM32F0xx devices and newer have an enhanced peripheral with slightly
different register interface.*/
#if defined(STM32F0XX)
diff --git a/os/hal/platforms/STM32F0xx/stm32_dma.h b/os/hal/platforms/STM32F0xx/stm32_dma.h
index 1677bc285..b1e06e6b5 100644
--- a/os/hal/platforms/STM32F0xx/stm32_dma.h
+++ b/os/hal/platforms/STM32F0xx/stm32_dma.h
@@ -21,7 +21,7 @@
/**
* @file STM32F0xx/stm32_dma.h
* @brief DMA helper driver header.
- * @note This file requires definitions from the ST header file stm32l1xx.h.
+ * @note This file requires definitions from the ST header file stm32f0xx.h.
* @note This driver uses the new naming convention used for the STM32F2xx
* so the "DMA channels" are referred as "DMA streams".
*