Skip to content

Commit

Permalink
Fix priority
Browse files Browse the repository at this point in the history
  • Loading branch information
shipp02 authored Jan 25, 2024
1 parent ccf4727 commit f3bdbe4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions libraries/AP_Vehicle/AP_Vehicle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -511,8 +511,7 @@ const AP_Scheduler::Task AP_Vehicle::scheduler_tasks[] = {
#if AP_AIRSPEED_ENABLED
SCHED_TASK_CLASS(AP_Airspeed, &vehicle.airspeed, update, 10, 100, 41), // NOTE: the priority number here should be right before Plane's calc_airspeed_errors
#endif
SCHED_TASK_CLASS(AP_ODIDScanner,&vehicle.odidscanner, update, 10, 50, 237),
SCHED_TASK_CLASS(AP_ODIDScanner,&vehicle.odidscanner, update_recv, 10, 50, 237),

#if COMPASS_CAL_ENABLED
SCHED_TASK_CLASS(Compass, &vehicle.compass, cal_update, 100, 200, 75),
#endif
Expand Down Expand Up @@ -544,6 +543,8 @@ const AP_Scheduler::Task AP_Vehicle::scheduler_tasks[] = {
#if AP_OPENDRONEID_ENABLED
SCHED_TASK_CLASS(AP_OpenDroneID, &vehicle.opendroneid, update, 10, 50, 236),
#endif
SCHED_TASK_CLASS(AP_ODIDScanner,&vehicle.odidscanner, update, 10, 50, 237),
SCHED_TASK_CLASS(AP_ODIDScanner,&vehicle.odidscanner, update_recv, 10, 50, 237),
#if AP_NETWORKING_ENABLED
SCHED_TASK_CLASS(AP_Networking, &vehicle.networking, update, 10, 50, 238),
#endif
Expand Down

0 comments on commit f3bdbe4

Please sign in to comment.