Skip to content

Commit

Permalink
Update timer map
Browse files Browse the repository at this point in the history
  • Loading branch information
haslinghuis committed Jul 23, 2024
1 parent 058874c commit 6872645
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions configs/SPEEDYBEEH5/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 6872645

Please sign in to comment.