Skip to content

Commit

Permalink
Undefined camera control pin to resolved timer collision
Browse files Browse the repository at this point in the history
  • Loading branch information
DieHertz committed Jul 23, 2018
1 parent 805b2f4 commit 5e398be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/main/target/KAKUTEF7/target.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#include "drivers/timer_def.h"

const timerHardware_t timerHardware[USABLE_TIMER_CHANNEL_COUNT] = {
DEF_TIM(TIM1, CH3, PE13, TIM_USE_PPM, 0, 1), // PPM / CAM_CONTROL, DMA2_ST6
DEF_TIM(TIM1, CH3, PE13, TIM_USE_PPM, 0, 1), // PPM, DMA2_ST6

DEF_TIM(TIM3, CH3, PB0, TIM_USE_MOTOR, 0, 0), // M1 , DMA1_ST7
DEF_TIM(TIM3, CH4, PB1, TIM_USE_MOTOR, 0, 0), // M2 , DMA1_ST2
Expand All @@ -37,6 +37,6 @@ const timerHardware_t timerHardware[USABLE_TIMER_CHANNEL_COUNT] = {
DEF_TIM(TIM8, CH4, PC9, TIM_USE_MOTOR, 0, 0), // M5 , DMA2_ST7
DEF_TIM(TIM5, CH4, PA3, TIM_USE_MOTOR, 0, 0), // M6 , DMA1_ST1

DEF_TIM(TIM4, CH1, PD12, TIM_USE_LED, 0, 0), // LED_TRIP , DMA1_ST0
DEF_TIM(TIM4, CH1, PD12, TIM_USE_LED, 0, 0), // LED_TRIP, DMA1_ST0
};

3 changes: 0 additions & 3 deletions src/main/target/KAKUTEF7/target.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,6 @@
#define USE_ACC
#define USE_GYRO

//define camera control
#define CAMERA_CONTROL_PIN PE13

// ICM-20689
#define USE_ACC_SPI_ICM20689
#define USE_GYRO_SPI_ICM20689
Expand Down

0 comments on commit 5e398be

Please sign in to comment.