fix camera_trigger publish and reduce time in capture interrupt routine

This commit is contained in:
DanielePettenuzzo
2019-02-10 18:07:44 -05:00
committed by Daniel Agar
parent 3f99204de2
commit 011a7f26f4
4 changed files with 86 additions and 22 deletions
+1 -1
View File
@@ -126,7 +126,7 @@ static void input_capture_chan_handler(void *context, const io_timers_t *timer,
if (channel_handlers[chan_index].callback) {
channel_handlers[chan_index].callback(channel_handlers[chan_index].context, chan_index,
channel_stats[chan_index].last_time,
channel_stats[chan_index].last_edge, channel_stats[chan_index].overflows);
channel_stats[chan_index].last_edge, overflow);
}
}