From 49d22aa317cb97672813219181ef40e2ec92306a Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sun, 6 Oct 2019 13:49:50 +0000 Subject: [PATCH] Small errors. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13090 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 --- os/hal/ports/STM32/STM32G4xx/hal_lld.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/os/hal/ports/STM32/STM32G4xx/hal_lld.h b/os/hal/ports/STM32/STM32G4xx/hal_lld.h index aeb42bdaf..9598214bc 100644 --- a/os/hal/ports/STM32/STM32G4xx/hal_lld.h +++ b/os/hal/ports/STM32/STM32G4xx/hal_lld.h @@ -553,35 +553,35 @@ * @brief I2C1 clock source. */ #if !defined(STM32_I2C1SEL) || defined(__DOXYGEN__) -#define STM32_I2C1SEL STM32_I2C1SEL_PCLK +#define STM32_I2C1SEL STM32_I2C1SEL_PCLK1 #endif /** * @brief I2C2 clock source. */ #if !defined(STM32_I2C2SEL) || defined(__DOXYGEN__) -#define STM32_I2C2SEL STM32_I2C2SEL_PCLK +#define STM32_I2C2SEL STM32_I2C2SEL_PCLK1 #endif /** * @brief I2C3 clock source. */ #if !defined(STM32_I2C3SEL) || defined(__DOXYGEN__) -#define STM32_I2C3SEL STM32_I2C3SEL_PCLK +#define STM32_I2C3SEL STM32_I2C3SEL_PCLK1 #endif /** * @brief I2C4 clock source. */ #if !defined(STM32_I2C4SEL) || defined(__DOXYGEN__) -#define STM32_I2C4SEL STM32_I2C4SEL_PCLK +#define STM32_I2C4SEL STM32_I2C4SEL_PCLK1 #endif /** * @brief LPTIM1 clock source. */ #if !defined(STM32_LPTIM1SEL) || defined(__DOXYGEN__) -#define STM32_LPTIM1SEL STM32_LPTIM1SEL_PCLK +#define STM32_LPTIM1SEL STM32_LPTIM1SEL_PCLK1 #endif /**