aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2016-04-05 14:04:12 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2016-04-05 14:04:12 +0000
commit361ad6aa408a2197a6a094380e41addeb433e66d (patch)
tree69b196f5be72742a709f341d1a679bc90bd0d80b /os/hal/ports
parentce4f94eff6a85bd8c93794d0413316e347614f2c (diff)
downloadChibiOS-361ad6aa408a2197a6a094380e41addeb433e66d.tar.gz
ChibiOS-361ad6aa408a2197a6a094380e41addeb433e66d.tar.bz2
ChibiOS-361ad6aa408a2197a6a094380e41addeb433e66d.zip
Fixed bug #730.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9247 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports')
-rw-r--r--os/hal/ports/STM32/LLD/GPIOv1/hal_pal_lld.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/ports/STM32/LLD/GPIOv1/hal_pal_lld.h b/os/hal/ports/STM32/LLD/GPIOv1/hal_pal_lld.h
index bd3a2b3dd..5cfe24157 100644
--- a/os/hal/ports/STM32/LLD/GPIOv1/hal_pal_lld.h
+++ b/os/hal/ports/STM32/LLD/GPIOv1/hal_pal_lld.h
@@ -84,7 +84,7 @@
* @brief Decodes a port identifier from a line identifier.
*/
#define PAL_PORT(line) \
- ((stm32_gpio_t *)(((uint32_t)(line)) & 0xFFFFFFF0U))
+ ((GPIO_TypeDef *)(((uint32_t)(line)) & 0xFFFFFFF0U))
/**
* @brief Decodes a pad identifier from a line identifier.