aboutsummaryrefslogtreecommitdiffstats
path: root/demos/STM8L-STM8L152-DISCOVERY-STVD/cosmic
diff options
context:
space:
mode:
Diffstat (limited to 'demos/STM8L-STM8L152-DISCOVERY-STVD/cosmic')
-rw-r--r--demos/STM8L-STM8L152-DISCOVERY-STVD/cosmic/vectors.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/STM8L-STM8L152-DISCOVERY-STVD/cosmic/vectors.c b/demos/STM8L-STM8L152-DISCOVERY-STVD/cosmic/vectors.c
index d35e6a51e..ea2f03c9a 100644
--- a/demos/STM8L-STM8L152-DISCOVERY-STVD/cosmic/vectors.c
+++ b/demos/STM8L-STM8L152-DISCOVERY-STVD/cosmic/vectors.c
@@ -211,7 +211,7 @@ exception_vector_t const _vectab[] = {
{0x82, _unhandled_exception}, /* vector18 */
#endif
-#if defined(_TIM2_OVERFLOW_ISR) || defined(_USART2_TRANSMIT_ISR)
+#if defined(_TIM2_UPDATE_ISR) || defined(_USART2_TRANSMIT_ISR)
{0x82, vector19},
#else
{0x82, _unhandled_exception}, /* vector19 */