diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-10-09 06:25:07 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-10-09 06:25:07 -0600 |
commit | e83b957bd2f07f373d371e849fc930dbcbddb106 (patch) | |
tree | 44d566a37befcb60b647e962544afd2bc1798858 | |
parent | 23fd3a6d4632dbc665950d0683ef81c2f22eab86 (diff) | |
download | nuttx-e83b957bd2f07f373d371e849fc930dbcbddb106.tar.gz nuttx-e83b957bd2f07f373d371e849fc930dbcbddb106.tar.bz2 nuttx-e83b957bd2f07f373d371e849fc930dbcbddb106.zip |
Correct STM32 RTC EXTI bit definition. From Lazlo
-rw-r--r-- | nuttx/arch/arm/src/stm32/chip/stm32_exti.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/arch/arm/src/stm32/chip/stm32_exti.h b/nuttx/arch/arm/src/stm32/chip/stm32_exti.h index 1f02f7fee..50191ecdc 100644 --- a/nuttx/arch/arm/src/stm32/chip/stm32_exti.h +++ b/nuttx/arch/arm/src/stm32/chip/stm32_exti.h @@ -135,8 +135,8 @@ # define EXTI_ETH_WAKEUP (1 << 19) /* EXTI line 19 is connected to the Ethernet Wakeup event */ # define EXTI_OTGHS_WAKEUP (1 << 20) /* EXTI line 20 is connected to the USB OTG HS Wakeup event */ # define EXTI_RTC_TAMPER (1 << 21) /* EXTI line 21 is connected to the RTC Tamper and TimeStamp events */ -# define EXTI_RTC_TIMESTAMP (1 << 22) /* EXTI line 21 is connected to the RTC Tamper and TimeStamp events */ -# define EXTI_RTC_WAKEUP (1 << 23) /* EXTI line 22 is connected to the RTC Wakeup event */ +# define EXTI_RTC_TIMESTAMP (1 << 21) /* EXTI line 21 is connected to the RTC Tamper and TimeStamp events */ +# define EXTI_RTC_WAKEUP (1 << 22) /* EXTI line 22 is connected to the RTC Wakeup event */ #endif /* Interrupt mask register */ |