nrf5/hal/gpio: Removing toggle event from the enumeration as that will be a combination of the rising and falling together.

This commit is contained in:
Glenn Ruben Bakke 2017-04-09 21:54:09 +02:00
parent 6446105689
commit 8c45aca8d2
1 changed files with 1 additions and 2 deletions

View File

@ -49,8 +49,7 @@
typedef enum {
HAL_GPIO_POLARITY_EVENT_LOW_TO_HIGH = GPIOTE_CONFIG_POLARITY_LoToHi << GPIOTE_CONFIG_POLARITY_Pos,
HAL_GPIO_POLARITY_EVENT_HIGH_TO_LOW = GPIOTE_CONFIG_POLARITY_HiToLo << GPIOTE_CONFIG_POLARITY_Pos,
HAL_GPIO_POLARITY_EVENT_TOGGLE = GPIOTE_CONFIG_POLARITY_Toggle << GPIOTE_CONFIG_POLARITY_Pos
HAL_GPIO_POLARITY_EVENT_HIGH_TO_LOW = GPIOTE_CONFIG_POLARITY_HiToLo << GPIOTE_CONFIG_POLARITY_Pos
} hal_gpio_polarity_event_t;
typedef enum {