Fix BTT002 SPEAKER timer conflict (#18011)

2.0.x
Jason Smith 5 years ago committed by GitHub
parent 3de1421d72
commit df04a427f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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

Loading…
Cancel
Save