forked from Archive/PX4-Autopilot
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:
parent
33cd8c7093
commit
b9f43068af
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue