Fixed errors introduced by line feature.

This commit is contained in:
marcoveeneman 2016-10-30 14:13:31 +01:00
parent 568ed8d0ee
commit 548c3592db
1 changed files with 6 additions and 1 deletions

View File

@ -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.
@ -323,6 +323,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.
*/