Merge pull request #2858 from flyinglemonfpv/master

Fixed KIWI V2 LED strip issue
This commit is contained in:
Michael Keller 2017-04-11 10:24:01 +12:00 committed by GitHub
commit 2302d30c14
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