Fix BTT002 SPEAKER timer conflict (#18011)

This commit is contained in:
Jason Smith 2020-05-17 12:48:07 -07:00 committed by GitHub
parent 3de1421d72
commit df04a427f3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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