px4fmu-v5:Define the existance of the UI PWM LED and it's polarity

Per https://docs.google.com/spreadsheets/d/1-n0__BYDedQrc_2NHqBenG1DNepAgnHpSGglke-QQwY/edit#gid=730959725
  Usage of the PWM UI led is optional and if used it's polaity may
  be set ot Active low or high.
This commit is contained in:
David Sidrane 2017-06-23 12:14:44 -10:00
parent 33cd8c7093
commit b9f43068af
1 changed files with 2 additions and 0 deletions

View File

@ -320,6 +320,8 @@ __BEGIN_DECLS
#define LED_TIM3_CH2OUT /* PC7 T3C2 BLUE */ GPIO_TIM3_CH2OUT_3
#define LED_TIM3_CH4OUT /* PB1 T3C4 RED */ GPIO_TIM3_CH4OUT_1
#define BOARD_HAS_UILED_PWM
#undef BOARD_UILED_PWM_DRIVE_ACTIVE_LOW
#define LED_TIM5_CH1OUT /* PH10 T5C1 RED */ GPIO_TIM5_CH1OUT_2
#define LED_TIM5_CH2OUT /* PH11 T5C2 GREEN */ GPIO_TIM5_CH2OUT_2
#define LED_TIM5_CH3OUT /* PH12 T5C3 BLUE */ GPIO_TIM5_CH3OUT_2