Fixed errors introduced by line feature.
This commit is contained in:
parent
568ed8d0ee
commit
548c3592db
|
@ -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.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue