Browse Source

Fix BTT002 SPEAKER timer conflict (#18011)

Jason Smith 4 years ago
parent
commit
df04a427f3
No account linked to committer's email address
1 changed files with 3 additions and 5 deletions
  1. 3
    5
      buildroot/share/PlatformIO/variants/BIGTREE_BTT002/variant.h

+ 3
- 5
buildroot/share/PlatformIO/variants/BIGTREE_BTT002/variant.h View File

245
 
245
 
246
 // Timer Definitions
246
 // Timer Definitions
247
 //Do not use timer used by PWM pins when possible. See PinMap_PWM in PeripheralPins.c
247
 //Do not use timer used by PWM pins when possible. See PinMap_PWM in PeripheralPins.c
248
-#define TIMER_TONE              TIM6
249
-#define TIMER_SERIAL            TIM7
250
-
251
-// Do not use basic timer: OC is required
252
-#define TIMER_SERVO             TIM2  //TODO: advanced-control timers don't work
248
+#define TIMER_TONE              TIM7
249
+#define TIMER_SERVO             TIM5
250
+#define TIMER_SERIAL            TIM2
253
 
251
 
254
 // UART Definitions
252
 // UART Definitions
255
 // Define here Serial instance number to map on Serial generic name
253
 // Define here Serial instance number to map on Serial generic name

Loading…
Cancel
Save