diff options
author | marcoveeneman <marco-veeneman@hotmail.com> | 2016-10-30 14:13:31 +0100 |
---|---|---|
committer | marcoveeneman <marco-veeneman@hotmail.com> | 2016-10-30 14:13:31 +0100 |
commit | 548c3592db460bad5803232b36f22e967fc61c2b (patch) | |
tree | abbfa5e75ff4b9e1e3554d957217eabd43a899b1 /os | |
parent | 568ed8d0ee46b3ada7bdf13cbb6b1a94f185d788 (diff) | |
download | ChibiOS-Contrib-548c3592db460bad5803232b36f22e967fc61c2b.tar.gz ChibiOS-Contrib-548c3592db460bad5803232b36f22e967fc61c2b.tar.bz2 ChibiOS-Contrib-548c3592db460bad5803232b36f22e967fc61c2b.zip |
Fixed errors introduced by line feature.
Diffstat (limited to 'os')
-rw-r--r-- | os/hal/ports/TIVA/LLD/GPIO/hal_pal_lld.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/os/hal/ports/TIVA/LLD/GPIO/hal_pal_lld.h b/os/hal/ports/TIVA/LLD/GPIO/hal_pal_lld.h index 8f7a1f6..a2d84ac 100644 --- a/os/hal/ports/TIVA/LLD/GPIO/hal_pal_lld.h +++ b/os/hal/ports/TIVA/LLD/GPIO/hal_pal_lld.h @@ -195,7 +195,7 @@ * @brief Decodes a port identifier from a line identifier. */ #define PAL_PORT(line) \ - ((stm32_gpio_t *)(((uint32_t)(line)) & 0xFFFFFFF0U)) + ((ioportid_t)(((uint32_t)(line)) & 0xFFFFFFF0U)) /** * @brief Decodes a pad identifier from a line identifier. @@ -324,6 +324,11 @@ typedef uint32_t ioportmask_t; typedef uint32_t iomode_t; /** + * @brief Type of an I/O line. + */ +typedef uint32_t ioline_t; + +/** * @brief Port Identifier. */ typedef uint32_t ioportid_t; |