gpio: do not deprecate internal direction mask
Existing drivers still use this; move it above the deprecated macro region. Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
This commit is contained in:
parent
d85a9e30d1
commit
558a585805
1 changed files with 4 additions and 4 deletions
|
@ -253,14 +253,14 @@ extern "C" {
|
|||
#define GPIO_DS_ALT_HIGH (0x1U << GPIO_DS_HIGH_POS)
|
||||
/** @} */
|
||||
|
||||
/** @name Deprecated Flags
|
||||
* @{
|
||||
*/
|
||||
|
||||
/** @cond INTERNAL_HIDDEN */
|
||||
#define GPIO_DIR_MASK (GPIO_INPUT | GPIO_OUTPUT)
|
||||
/** @endcond */
|
||||
|
||||
/** @name Deprecated Flags
|
||||
* @{
|
||||
*/
|
||||
|
||||
/** Legacy flag indicating pin is configured as input only.
|
||||
*
|
||||
* @deprecated Replace with `GPIO_INPUT`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue