summaryrefslogtreecommitdiff
path: root/timer
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2013-08-25 19:22:09 +0200
committerVegard Storheil Eriksen <zyp@jvnv.net>2013-08-25 19:22:09 +0200
commitb386407dbbedb495fcdc651a439c918eff9fd5a3 (patch)
tree0d98ca949a79f97e2da770fadf15467a52f17887 /timer
parentc982426fd492b8645a04698f5a2b24e242902100 (diff)
Added timers to F3.
Diffstat (limited to 'timer')
-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;