drv_led_pwm:Compile for either BOARD_HAS_LED_PWM or BOARD_HAS_UI_LED_PWM

This commit is contained in:
David Sidrane 2018-11-30 10:27:03 -08:00 committed by Lorenz Meier
parent 1d289f77e3
commit 7350808759
1 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,7 @@
#include "chip/kinetis_sim.h"
#include "chip/kinetis_ftm.h"
#if defined(BOARD_HAS_LED_PWM)
#if defined(BOARD_HAS_LED_PWM) || defined(BOARD_HAS_UI_LED_PWM)
#define FTM_SRC_CLOCK_FREQ 16000000
#define LED_PWM_FREQ 1000000
@ -342,4 +342,4 @@ led_pwm_servo_arm(bool armed)
}
}
#endif // BOARD_HAS_LED_PWM
#endif // BOARD_HAS_LED_PWM || BOARD_HAS_UI_LED_PWM