[Taranis] Hardcoded timer removed

This commit is contained in:
bsongis
2015-07-09 23:49:23 +02:00
parent 1ebce293c9
commit dd3eaf4ec9
+1 -1
View File
@@ -924,7 +924,7 @@ extern uint16_t lastMixerDuration;
#endif
#if defined(CPUSTM32)
static inline uint16_t getTmr2MHz() { return TIM7->CNT; }
static inline uint16_t getTmr2MHz() { return TIMER_2MHz_TIMER->CNT; }
#elif defined(CPUARM)
static inline uint16_t getTmr2MHz() { return TC1->TC_CHANNEL[0].TC_CV; }
#else