Copter: fix camera relay trigger

camera.update() for automatic shots always called from
void Copter::update_GPS(void), after gps read
copter specific bug
This commit is contained in:
kozinalexey 2018-03-17 08:31:03 +03:00 committed by Randy Mackay
parent 5f9879fae1
commit 8b5f5a5fa0
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ const AP_Scheduler::Task Copter::scheduler_tasks[] = {
SCHED_TASK_CLASS(AP_Mount, &copter.camera_mount, update, 50, 75),
#endif
#if CAMERA == ENABLED
SCHED_TASK_CLASS(AP_Camera, &copter.camera, update, 50, 75),
SCHED_TASK_CLASS(AP_Camera, &copter.camera, update_trigger, 50, 75),
#endif
#if LOGGING_ENABLED == ENABLED
SCHED_TASK(ten_hz_logging_loop, 10, 350),