Skip to content

Commit

Permalink
fix neutronrcf435se motor led timer conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
shanggl committed Dec 31, 2023
1 parent 0711b60 commit 41fd550
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/main/target/NEUTRONRCF435SE/target.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ timerHardware_t timerHardware[] = {

DEF_TIM(TMR8, CH4, PC9, TIM_USE_OUTPUT_AUTO, 0,0), // motor1 DMA2 CH7
DEF_TIM(TMR8, CH3, PC8, TIM_USE_OUTPUT_AUTO, 0,2), // motor2 DMA2 CH6
DEF_TIM(TMR3, CH2, PC7, TIM_USE_OUTPUT_AUTO, 0,1), // motor3 DMA2 CH5
DEF_TIM(TMR3, CH1, PC6, TIM_USE_OUTPUT_AUTO, 0,3), // motor4 DMA2 CH4
DEF_TIM(TMR8, CH2, PC7, TIM_USE_OUTPUT_AUTO, 0,1), // motor3 DMA2 CH5
DEF_TIM(TMR8, CH1, PC6, TIM_USE_OUTPUT_AUTO, 0,3), // motor4 DMA2 CH4

DEF_TIM(TMR4, CH1, PB6, TIM_USE_OUTPUT_AUTO, 0,11), // PWM1 - OUT5 DMA1 CH7
DEF_TIM(TMR4, CH2, PB7, TIM_USE_OUTPUT_AUTO, 0,10), // PWM2 - OUT6 DMA2 CH1
Expand Down
4 changes: 2 additions & 2 deletions src/main/target/NEUTRONRCF435SE/target.h
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,8 @@

#define DEFAULT_FEATURES (FEATURE_TX_PROF_SEL | FEATURE_CURRENT_METER | FEATURE_TELEMETRY| FEATURE_VBAT | FEATURE_OSD )

// #define USE_LED_STRIP
// #define WS2811_PIN PB10 //TIM2_CH3
#define USE_LED_STRIP
#define WS2811_PIN PA1 //TIM2_CH3

// telemetry
// #define USE_SPEKTRUM_BIND
Expand Down

0 comments on commit 41fd550

Please sign in to comment.