Skip to content

Commit

Permalink
Fixing typo in motors_def
Browse files Browse the repository at this point in the history
  • Loading branch information
matejkarasek committed Jan 10, 2024
1 parent 34d1df2 commit 2d7ed59
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/drivers/src/motors_def.c
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,7 @@ static const MotorPerifDef MOTORS_PB5_TIM3_CH2_BRUSHLESS_OD =
};

// Deck IO3, PB4, TIM3_CH1
static const MotorPerifDef MOTORS_PB4_TIM2_CH1_BRUSHLESS_OD =
static const MotorPerifDef MOTORS_PB4_TIM3_CH1_BRUSHLESS_OD =
{
.drvType = BRUSHLESS,
.gpioPerif = RCC_AHB1Periph_GPIOB,
Expand Down Expand Up @@ -743,7 +743,7 @@ const MotorPerifDef* motorMapDefaultBrushed[NBR_OF_MOTORS] =
const MotorPerifDef* motorMapBigQuadDeck[NBR_OF_MOTORS] =
{
&MOTORS_PA2_TIM2_CH3_BRUSHLESS_OD,
&MOTORS_PB4_TIM2_CH1_BRUSHLESS_OD,
&MOTORS_PB4_TIM3_CH1_BRUSHLESS_OD,
&MOTORS_PB5_TIM3_CH2_BRUSHLESS_OD,
&MOTORS_PA3_TIM2_CH4_BRUSHLESS_OD
};
Expand Down Expand Up @@ -823,7 +823,7 @@ const MotorPerifDef* servoMapIO2 = &MOTORS_PB5_TIM3_CH2_BRUSHLESS_OD;
/**
* Servo mapped to the Bigquad M2 / IO3 port
*/
const MotorPerifDef* servoMapIO3 = &MOTORS_PB4_TIM2_CH1_BRUSHLESS_OD;
const MotorPerifDef* servoMapIO3 = &MOTORS_PB4_TIM3_CH1_BRUSHLESS_OD;

/**
* Servo mapped to the Bigquad M4 / RX2 port
Expand Down

0 comments on commit 2d7ed59

Please sign in to comment.