diff --git a/configs/SPEEDYBEEH5/config.h b/configs/SPEEDYBEEH5/config.h index 793a2e5e..77064259 100644 --- a/configs/SPEEDYBEEH5/config.h +++ b/configs/SPEEDYBEEH5/config.h @@ -112,17 +112,18 @@ #define ADC_RSSI_PIN PC2 #define ADC_CURR_PIN PC1 -#define TIMER_PIN_MAPPING TIMER_PIN_MAP(0, MOTOR1_PIN, 2, 0) \ - TIMER_PIN_MAP(1, MOTOR2_PIN, 2, 0) \ - TIMER_PIN_MAP(2, MOTOR3_PIN, 2, 0) \ - TIMER_PIN_MAP(3, MOTOR4_PIN, 2, 0) \ - TIMER_PIN_MAP(4, MOTOR5_PIN, 2, 0) \ - TIMER_PIN_MAP(5, MOTOR6_PIN, 2, 0) \ - TIMER_PIN_MAP(6, MOTOR7_PIN, 1, 0) \ - TIMER_PIN_MAP(7, MOTOR8_PIN, 1, 0) \ - TIMER_PIN_MAP(8, MOTOR9_PIN, 2, 0) \ - TIMER_PIN_MAP(9, MOTOR10_PIN, 2, 0 \ - TIMER_PIN_MAP(10, LED_STRIP_PIN, 1, 0) +#define TIMER_PIN_MAPPING TIMER_PIN_MAP( 0, MOTOR1_PIN, 2, 0 ) \ + TIMER_PIN_MAP( 1, MOTOR2_PIN, 2, 0 ) \ + TIMER_PIN_MAP( 2, MOTOR3_PIN, 2, 0 ) \ + TIMER_PIN_MAP( 3, MOTOR4_PIN, 2, 0 ) \ + TIMER_PIN_MAP( 4, MOTOR5_PIN, 2, 0 ) \ + TIMER_PIN_MAP( 5, MOTOR6_PIN, 2, 0 ) \ + TIMER_PIN_MAP( 6, MOTOR7_PIN, 1, 0 ) \ + TIMER_PIN_MAP( 7, MOTOR8_PIN, 1, 0 ) \ + TIMER_PIN_MAP( 8, MOTOR9_PIN, 2, 0 ) \ + TIMER_PIN_MAP( 9, MOTOR10_PIN, 2, 0 ) \ + TIMER_PIN_MAP( 10, LED_STRIP_PIN, 1, 0 ) \ + TIMER_PIN_MAP( 11, CAMERA_CONTROL_PIN, 2, -1 ) #define ADC1_DMA_OPT 0