mirror of
https://github.com/opentx/opentx.git
synced 2025-07-24 16:55:20 +03:00
[Taranis] Hardcoded timer removed
This commit is contained in:
parent
1ebce293c9
commit
dd3eaf4ec9
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue