Navigation Menu

Skip to content

Commit

Permalink
[H7] Fix timer_def.h for TIM13 and TIM14
Browse files Browse the repository at this point in the history
  • Loading branch information
ezshinoda committed Jun 6, 2019
1 parent 0c8c671 commit 76b508d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/main/drivers/timer_def.h
Expand Up @@ -50,6 +50,8 @@
#define BTCH_TIM20_CH2N BTCH_TIM20_CH2
#define BTCH_TIM20_CH3N BTCH_TIM20_CH3

#define BTCH_TIM13_CH1N BTCH_TIM13_CH1
#define BTCH_TIM14_CH1N BTCH_TIM14_CH1
#define BTCH_TIM15_CH1N BTCH_TIM15_CH1
#define BTCH_TIM16_CH1N BTCH_TIM16_CH1
#define BTCH_TIM17_CH1N BTCH_TIM17_CH1
Expand Down Expand Up @@ -981,8 +983,8 @@
#define DEF_TIM_AF__PF8__TCH_TIM16_CH1N D(1, 16)
#define DEF_TIM_AF__PF9__TCH_TIM17_CH1N D(1, 17)

#define DEF_TIM_AF__PF8__TCH_TIM13_CH1N D(1, 13)
#define DEF_TIM_AF__PF9__TCH_TIM14_CH1N D(1, 14)
#define DEF_TIM_AF__PF8__TCH_TIM13_CH1N D(9, 13)
#define DEF_TIM_AF__PF9__TCH_TIM14_CH1N D(9, 14)

//PORTH
#define DEF_TIM_AF__PH6__TCH_TIM12_CH1 D(2, 12)
Expand Down

0 comments on commit 76b508d

Please sign in to comment.