Skip to content

Commit

Permalink
Fix zephyr build issue
Browse files Browse the repository at this point in the history
Zephyr drivers requires pullup and pulldown definition.
This commit fix build issue on zephyr side

Signed-off-by: Sadik Ozer <[email protected]>
  • Loading branch information
ozersa committed Oct 23, 2024
1 parent 3bdf514 commit 3f90f66
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Libraries/PeriphDrivers/Include/MAX32657/gpio.h
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,9 @@ typedef enum {
typedef enum {
MXC_GPIO_PAD_NONE, /**< No pull-up or pull-down */
MXC_GPIO_PAD_WEAK_PULL_UP, /**< Set pad to weak pull-up */
MXC_GPIO_PAD_WEAK_PULL_DOWN /**< Set pad to weak pull-down */
MXC_GPIO_PAD_WEAK_PULL_DOWN, /**< Set pad to weak pull-down */
MXC_GPIO_PAD_PULL_UP = MXC_GPIO_PAD_WEAK_PULL_UP, /**< Set pad to default (weak) pull-up */
MXC_GPIO_PAD_PULL_DOWN = MXC_GPIO_PAD_WEAK_PULL_DOWN /**< Set pad to default (weak) pull-down */
} mxc_gpio_pad_t;

/**
Expand Down

0 comments on commit 3f90f66

Please sign in to comment.