Sub: call periodic fence update function

This commit is contained in:
Peter Barker 2019-09-17 13:37:03 +10:00 committed by Randy Mackay
parent 4d6dc9b0a7
commit 3ef94a69ad
1 changed files with 3 additions and 0 deletions

View File

@ -40,6 +40,9 @@ const AP_Scheduler::Task Sub::scheduler_tasks[] = {
SCHED_TASK(one_hz_loop, 1, 100),
SCHED_TASK_CLASS(GCS, (GCS*)&sub._gcs, update_receive, 400, 180),
SCHED_TASK_CLASS(GCS, (GCS*)&sub._gcs, update_send, 400, 550),
#if AC_FENCE == ENABLED
SCHED_TASK_CLASS(AC_Fence, &sub.fence, update, 10, 100),
#endif
#if MOUNT == ENABLED
SCHED_TASK_CLASS(AP_Mount, &sub.camera_mount, update, 50, 75),
#endif