瀏覽代碼

Fix BTT002 SPEAKER timer conflict (#18011)

Jason Smith 4 年之前
父節點
當前提交
df04a427f3
No account linked to committer's email address
共有 1 個文件被更改,包括 3 次插入5 次删除
  1. 3
    5
      buildroot/share/PlatformIO/variants/BIGTREE_BTT002/variant.h

+ 3
- 5
buildroot/share/PlatformIO/variants/BIGTREE_BTT002/variant.h 查看文件

@@ -245,11 +245,9 @@ extern "C" {
245 245
 
246 246
 // Timer Definitions
247 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 252
 // UART Definitions
255 253
 // Define here Serial instance number to map on Serial generic name

Loading…
取消
儲存