From 2247811df22d5fb8c7fe22e9b49e795d467b685f Mon Sep 17 00:00:00 2001 From: Mark Haslinghuis Date: Tue, 10 Sep 2024 12:40:50 +0200 Subject: [PATCH] Update timer pin mapping --- configs/FLYWOOH743PRO/config.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/configs/FLYWOOH743PRO/config.h b/configs/FLYWOOH743PRO/config.h index 0a350a1d..af8a89da 100644 --- a/configs/FLYWOOH743PRO/config.h +++ b/configs/FLYWOOH743PRO/config.h @@ -99,19 +99,19 @@ #define GYRO_2_CS_PIN PE11 #define TIMER_PIN_MAPPING \ - TIMER_PIN_MAP( 0, PB0 , 2, 0) \ - TIMER_PIN_MAP( 1, PB1 , 2, 1) \ - TIMER_PIN_MAP( 2, PA0 , 2, 2) \ - TIMER_PIN_MAP( 3, PA1 , 2, 3) \ - TIMER_PIN_MAP( 4, PA2 , 2, 4) \ - TIMER_PIN_MAP( 5, PA3 , 2, 5) \ - TIMER_PIN_MAP( 6, PD12, 1, 6) \ - TIMER_PIN_MAP( 7, PD13, 1, 7) \ + TIMER_PIN_MAP( 0, MOTOR1_PIN , 2, 0) \ + TIMER_PIN_MAP( 1, MOTOR2_PIN , 2, 1) \ + TIMER_PIN_MAP( 2, MOTOR3_PIN , 2, 2) \ + TIMER_PIN_MAP( 3, MOTOR4_PIN , 2, 3) \ + TIMER_PIN_MAP( 4, MOTOR5_PIN , 2, 4) \ + TIMER_PIN_MAP( 5, MOTOR6_PIN , 2, 5) \ + TIMER_PIN_MAP( 6, MOTOR7_PIN, 1, 6) \ + TIMER_PIN_MAP( 7, MOTOR8_PIN, 1, 7) \ TIMER_PIN_MAP( 8, PD14, 1, 12) \ TIMER_PIN_MAP( 9, PD15, 1, -1) \ - TIMER_PIN_MAP(10, PE5 , 1, 0) \ - TIMER_PIN_MAP(11, PE6 , 1, -1) \ - TIMER_PIN_MAP(12, PA8 , 1, 14) + TIMER_PIN_MAP(10, SERVO1_PIN , 1, 0) \ + TIMER_PIN_MAP(11, SERVO2_PIN , 1, -1) \ + TIMER_PIN_MAP(12, LED_STRIP_PIN , 1, 14) #define ADC1_DMA_OPT 8 #define ADC3_DMA_OPT 9