camera_capture: use up_input_capture_set directly

It reserves the channel and pwm_out will not use it
This commit is contained in:
Beat Küng
2021-09-08 16:10:24 -04:00
committed by Daniel Agar
parent 78b5cdae4c
commit 062dd28f4d
7 changed files with 55 additions and 130 deletions
+2 -2
View File
@@ -83,11 +83,11 @@ typedef struct input_capture_element_t {
} input_capture_element_t;
typedef struct input_capture_stats_t {
uint32_t chan_in_edges_out;
uint32_t edges;
uint32_t overflows;
uint32_t last_edge;
hrt_abstime last_time;
uint16_t latnecy;
uint16_t latency;
} input_capture_stats_t;
/**