From 0b24320bdd04312d7bbf1d0d464dbc18c46d6244 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Fri, 14 May 2010 09:50:43 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1922 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/STM32/hal_lld.c | 2 +- os/hal/platforms/STM32/pal_lld.c | 2 +- os/hal/platforms/STM32/pal_lld.h | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'os') diff --git a/os/hal/platforms/STM32/hal_lld.c b/os/hal/platforms/STM32/hal_lld.c index 25d4b4d57..2a22fcd0b 100644 --- a/os/hal/platforms/STM32/hal_lld.c +++ b/os/hal/platforms/STM32/hal_lld.c @@ -42,7 +42,7 @@ * @brief PAL setup. * @details Digital I/O ports static configuration as defined in @p board.h. */ -const STM32GPIOConfig pal_default_config = +const PALConfig pal_default_config = { {VAL_GPIOAODR, VAL_GPIOACRL, VAL_GPIOACRH}, {VAL_GPIOBODR, VAL_GPIOBCRL, VAL_GPIOBCRH}, diff --git a/os/hal/platforms/STM32/pal_lld.c b/os/hal/platforms/STM32/pal_lld.c index 69bd3ecab..4ddb13359 100644 --- a/os/hal/platforms/STM32/pal_lld.c +++ b/os/hal/platforms/STM32/pal_lld.c @@ -82,7 +82,7 @@ * * @param[in] config the STM32 ports configuration */ -void _pal_lld_init(const STM32GPIOConfig *config) { +void _pal_lld_init(const PALConfig *config) { /* * Enables the GPIO related clocks. diff --git a/os/hal/platforms/STM32/pal_lld.h b/os/hal/platforms/STM32/pal_lld.h index fb276877d..a299bce70 100644 --- a/os/hal/platforms/STM32/pal_lld.h +++ b/os/hal/platforms/STM32/pal_lld.h @@ -86,7 +86,7 @@ typedef struct { /** @brief Port G setup data.*/ stm32_gpio_setup_t PGData; #endif -} STM32GPIOConfig; +} PALConfig; /** * @brief Width, in bits, of an I/O port. @@ -289,12 +289,12 @@ typedef GPIO_TypeDef * ioportid_t; */ #define pal_lld_writepad(port, pad, bit) pal_lld_writegroup(port, 1, pad, bit) -extern const STM32GPIOConfig pal_default_config; +extern const PALConfig pal_default_config; #ifdef __cplusplus extern "C" { #endif - void _pal_lld_init(const STM32GPIOConfig *config); + void _pal_lld_init(const PALConfig *config); void _pal_lld_setgroupmode(ioportid_t port, ioportmask_t mask, uint_fast8_t mode); -- cgit v1.2.3