summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--timer/timer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/timer/timer.h b/timer/timer.h
index 5085524..54c0d37 100644
--- a/timer/timer.h
+++ b/timer/timer.h
@@ -24,7 +24,7 @@ struct TIM_t {
volatile uint32_t DMAR;
};
-#if defined(STM32F1)
+#if defined(STM32F1) || defined(STM32F3)
static TIM_t& TIM1 = *(TIM_t*)0x40012c00;
static TIM_t& TIM2 = *(TIM_t*)0x40000000;
static TIM_t& TIM3 = *(TIM_t*)0x40000400;