Merge pull request #2858 from flyinglemonfpv/master
Fixed KIWI V2 LED strip issue
This commit is contained in:
commit
2302d30c14
|
@ -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, CH3, PB0, TIM_USE_MOTOR, 1, 0),
|
||||||
DEF_TIM(TIM3, CH4, PB1, 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),
|
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
|
DEF_TIM(TIM5, CH1, PA0, TIM_USE_LED, 0, 0), //LED
|
||||||
#else
|
#else
|
||||||
DEF_TIM(TIM4, CH2, PB7, TIM_USE_LED, 0, 0), // LED
|
DEF_TIM(TIM4, CH2, PB7, TIM_USE_LED, 0, 0), // LED
|
||||||
|
|
|
@ -164,6 +164,8 @@
|
||||||
#define I2C1_SDA PB7
|
#define I2C1_SDA PB7
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define LED_STRIP
|
||||||
|
|
||||||
#define USE_ADC
|
#define USE_ADC
|
||||||
#define BOARD_HAS_VOLTAGE_DIVIDER
|
#define BOARD_HAS_VOLTAGE_DIVIDER
|
||||||
#define VBAT_ADC_PIN PC1
|
#define VBAT_ADC_PIN PC1
|
||||||
|
|
Loading…
Reference in New Issue