include: drivers: gpio: fix gpio_dt_flags_t overflow
when GPIO_INT_WAKEUP flag is used in a DT gpios property the gpio_dt_flags_t var that holds the flags overflows Hence moving GPIO_INT_WAKEUP flag from bit 28 to bit 6 Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
This commit is contained in:
parent
96c26c2268
commit
39e472ffba
@ -79,12 +79,12 @@
|
||||
|
||||
/** @} */
|
||||
|
||||
/* Note: Bits 15 downto 8 are reserved for SoC specific flags. */
|
||||
|
||||
/**
|
||||
* Configures GPIO interrupt to wakeup the system from low power mode.
|
||||
*/
|
||||
#define GPIO_INT_WAKEUP (1 << 28)
|
||||
#define GPIO_INT_WAKEUP (1 << 6)
|
||||
|
||||
/* Note: Bits 15 downto 8 are reserved for SoC specific flags. */
|
||||
|
||||
/**
|
||||
* @}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user