Skip to content

Commit

Permalink
hwdef: correct double-definitions of DEFAULT_NTF_LED_TYPES
Browse files Browse the repository at this point in the history
these hwdefs include other hwdefs which define the samething.

Remove where identical to file beingincluded, undef otherwise
  • Loading branch information
peterbarker committed May 7, 2023
1 parent 791ce7a commit 871797d
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
1 change: 1 addition & 0 deletions libraries/AP_HAL_ChibiOS/hwdef/MatekF765-SE/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,5 @@ IMU Invensensev3 SPI:icm42688 ROTATION_YAW_180

undef HAL_I2C_INTERNAL_MASK
define HAL_I2C_INTERNAL_MASK 0
undef DEFAULT_NTF_LED_TYPES
define DEFAULT_NTF_LED_TYPES 487
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,3 @@ PA0 TIM2_CH1 TIM2 PWM(1) GPIO(50) BIDIR
PA1 TIM2_CH2 TIM2 PWM(2) GPIO(51)
PA2 TIM5_CH3 TIM5 PWM(3) GPIO(52) BIDIR
PA3 TIM5_CH4 TIM5 PWM(4) GPIO(53)

define DEFAULT_NTF_LED_TYPES 455
2 changes: 0 additions & 2 deletions libraries/AP_HAL_ChibiOS/hwdef/SkystarsH7HD-bdshot/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,3 @@ PB1 TIM3_CH4 TIM3 PWM(2) GPIO(51)
PD12 TIM4_CH1 TIM4 PWM(3) GPIO(52) BIDIR
PA0 TIM2_CH1 TIM2 PWM(5) GPIO(54) BIDIR
PA2 TIM2_CH3 TIM2 PWM(7) GPIO(56) BIDIR

define DEFAULT_NTF_LED_TYPES 257

0 comments on commit 871797d

Please sign in to comment.