From 8cf382bbe10aa60600fd4fc76a0c7cc22160a29c Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sat, 15 May 2021 12:26:43 +0000 Subject: [PATCH] git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14375 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 --- os/hal/include/hal.h | 5 +++++ os/hal/ports/STM32/STM32G4xx/hal_lld.h | 5 ----- os/hal/templates/hal_lld.h | 8 -------- 3 files changed, 5 insertions(+), 13 deletions(-) diff --git a/os/hal/include/hal.h b/os/hal/include/hal.h index 1c62622f9..31d2918d7 100644 --- a/os/hal/include/hal.h +++ b/os/hal/include/hal.h @@ -252,6 +252,11 @@ /* Driver data structures and types. */ /*===========================================================================*/ +/** + * @brief Type of a clock point identifier. + */ +typedef unsigned halclkpt_t; + /*===========================================================================*/ /* Driver macros. */ /*===========================================================================*/ diff --git a/os/hal/ports/STM32/STM32G4xx/hal_lld.h b/os/hal/ports/STM32/STM32G4xx/hal_lld.h index 19a9db32c..652d3de6a 100644 --- a/os/hal/ports/STM32/STM32G4xx/hal_lld.h +++ b/os/hal/ports/STM32/STM32G4xx/hal_lld.h @@ -1542,11 +1542,6 @@ /* Driver data structures and types. */ /*===========================================================================*/ -/** - * @brief Type of a clock point identifier. - */ -typedef unsigned halclkpt_t; - #if defined(HAL_LLD_USE_CLOCK_MANAGEMENT) || defined(__DOXYGEN__) /** * @brief Type of a clock point frequency in Hz. diff --git a/os/hal/templates/hal_lld.h b/os/hal/templates/hal_lld.h index 3a4f011d5..d68ac355b 100644 --- a/os/hal/templates/hal_lld.h +++ b/os/hal/templates/hal_lld.h @@ -67,14 +67,6 @@ /*===========================================================================*/ #if defined(HAL_LLD_USE_CLOCK_MANAGEMENT) || defined(__DOXYGEN__) -/** - * @brief Type of clock point names. - */ -typedef enum { - clk_core = 0, - clk_peripherals = 1 -} halclkpt_t; - /** * @brief Type of a clock point frequency in Hz. */