Skip to content

Commit e779268

Browse files
committed
[Wraith32] Fix Timer definition in variant
TIM7 does not exist. TIMER_TONE seems useless for CNC. Signed-off-by: Frederic Pillon <[email protected]>
1 parent 9b224d6 commit e779268

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

variants/WRAITH32_F051K6/variant.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,7 @@ extern "C" {
7272
#define PIN_WIRE_SCL PB6 // 5
7373

7474
// Timer Definitions
75-
// Use TIM6/TIM7 when possible as servo and tone don't need GPIO output pin
76-
#define TIMER_TONE TIM6
77-
#define TIMER_SERVO TIM7
75+
#define TIMER_SERVO TIM6
7876

7977
// UART Definitions
8078
#define SERIAL_UART_INSTANCE 2 //Connected to ST-Link

0 commit comments

Comments
 (0)