Fix BTT002 SPEAKER timer conflict (#18011)
This commit is contained in:
parent
3de1421d72
commit
df04a427f3
1 changed files with 3 additions and 5 deletions
|
@ -245,11 +245,9 @@ extern "C" {
|
||||||
|
|
||||||
// Timer Definitions
|
// Timer Definitions
|
||||||
//Do not use timer used by PWM pins when possible. See PinMap_PWM in PeripheralPins.c
|
//Do not use timer used by PWM pins when possible. See PinMap_PWM in PeripheralPins.c
|
||||||
#define TIMER_TONE TIM6
|
#define TIMER_TONE TIM7
|
||||||
#define TIMER_SERIAL TIM7
|
#define TIMER_SERVO TIM5
|
||||||
|
#define TIMER_SERIAL TIM2
|
||||||
// Do not use basic timer: OC is required
|
|
||||||
#define TIMER_SERVO TIM2 //TODO: advanced-control timers don't work
|
|
||||||
|
|
||||||
// UART Definitions
|
// UART Definitions
|
||||||
// Define here Serial instance number to map on Serial generic name
|
// Define here Serial instance number to map on Serial generic name
|
||||||
|
|
Reference in a new issue