camera_capture: remove board-specific ifdef

This commit is contained in:
Beat Küng
2020-08-04 13:37:40 +02:00
parent 46208edfac
commit 316085c154
3 changed files with 20 additions and 15 deletions
+2
View File
@@ -103,6 +103,8 @@
#define DIRECT_PWM_OUTPUT_CHANNELS 9
#define DIRECT_INPUT_TIMER_CHANNELS 9
#define BOARD_CAPTURE_GPIO /* PD14 */ (GPIO_INPUT|GPIO_FLOAT|GPIO_EXTI|GPIO_PORTD|GPIO_PIN14)
/* High-resolution timer */
#define HRT_TIMER 5 /* use timer5 for the HRT */
#define HRT_TIMER_CHANNEL 1 /* use capture/compare channel 3 */