Skip to content

Commit 727b774

Browse files
committed
[Generic F410xx] Fix wrong TIMER_SERVO definition
Signed-off-by: Frederic Pillon <[email protected]>
1 parent ff40983 commit 727b774

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

variants/Generic_F410Cx/variant.h

+1-2
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,8 @@ extern "C" {
9999
#define PIN_WIRE_SCL PB8
100100

101101
// Timer Definitions
102-
// Use TIM6/TIM7 when possible as servo and tone don't need GPIO output pin
103102
#define TIMER_TONE TIM6
104-
#define TIMER_SERVO TIM7
103+
#define TIMER_SERVO TIM5
105104

106105
// UART Definitions
107106
#define SERIAL_UART_INSTANCE 2 // Connected to ST-Link

variants/Generic_F410Rx/variant.h

+1-2
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,8 @@ extern "C" {
100100
#endif
101101

102102
// Timer Definitions
103-
// Use TIM6/TIM7 when possible as servo and tone don't need GPIO output pin
104103
#define TIMER_TONE TIM6
105-
#define TIMER_SERVO TIM7
104+
#define TIMER_SERVO TIM5
106105

107106
// SPI definitions
108107
#define PIN_SPI_SS PA4

0 commit comments

Comments
 (0)