Skip to content

Commit

Permalink
Fixed timer definitions for REVO / REVOLT / AIRBOTF4.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeller authored and borisbstyle committed Feb 18, 2017
1 parent 0b73e61 commit c283c93
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/main/target/REVO/target.h
Original file line number Diff line number Diff line change
Expand Up @@ -213,8 +213,13 @@

#ifdef REVOLT
#define USABLE_TIMER_CHANNEL_COUNT 11
#define USED_TIMERS ( TIM_N(2) | TIM_N(3) | TIM_N(4) | TIM_N(8) | TIM_N(12) )
#else
#define USABLE_TIMER_CHANNEL_COUNT 12
#endif
#ifdef AIRBOTF4
#define USED_TIMERS ( TIM_N(1) | TIM_N(2) | TIM_N(3) | TIM_N(5) | TIM_N(8) | TIM_N(12) )
#else
#define USED_TIMERS ( TIM_N(2) | TIM_N(3) | TIM_N(5) | TIM_N(8) | TIM_N(12) )
#endif // AIRBOTF4
#endif // REVOLT

#define USED_TIMERS ( TIM_N(2) | TIM_N(3) | TIM_N(5) | TIM_N(12) | TIM_N(8) | TIM_N(9) )

0 comments on commit c283c93

Please sign in to comment.