1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 16:55:36 +03:00

Fixed KIWI V2 LED strip issue

This commit is contained in:
MARTINKOWALSKY\Martin Kowalsky 2017-04-11 00:11:58 +02:00
parent 4e2c1fccf0
commit f8ea32d981
2 changed files with 3 additions and 1 deletions

View file

@ -29,7 +29,7 @@ const timerHardware_t timerHardware[USABLE_TIMER_CHANNEL_COUNT] = {
DEF_TIM(TIM3, CH3, PB0, TIM_USE_MOTOR, 1, 0),
DEF_TIM(TIM3, CH4, PB1, TIM_USE_MOTOR, 1, 0),
DEF_TIM(TIM2, CH3, PA2, TIM_USE_MOTOR, 1, 0),
#ifdef PLUMF4
#if defined(PLUMF4) || defined(KIWIF4V2)
DEF_TIM(TIM5, CH1, PA0, TIM_USE_LED, 0, 0), //LED
#else
DEF_TIM(TIM4, CH2, PB7, TIM_USE_LED, 0, 0), // LED

View file

@ -164,6 +164,8 @@
#define I2C1_SDA PB7
*/
#define LED_STRIP
#define USE_ADC
#define BOARD_HAS_VOLTAGE_DIVIDER
#define VBAT_ADC_PIN PC1