mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
Plane: remove update_events scheduler shim
This commit is contained in:
parent
c40f4f1ba6
commit
ba3a369651
@ -51,7 +51,7 @@ const AP_Scheduler::Task Plane::scheduler_tasks[] = {
|
||||
SCHED_TASK(afs_fs_check, 10, 100),
|
||||
SCHED_TASK_CLASS(GCS, (GCS*)&plane._gcs, update, 50, 500),
|
||||
SCHED_TASK_CLASS(GCS, (GCS*)&plane._gcs, data_stream_send, 50, 500),
|
||||
SCHED_TASK(update_events, 50, 150),
|
||||
SCHED_TASK_CLASS(AP_ServoRelayEvents, &plane.ServoRelayEvents, update_events, 50, 150),
|
||||
SCHED_TASK_CLASS(AP_BattMonitor, &plane.battery, read, 10, 300),
|
||||
SCHED_TASK_CLASS(AP_Baro, &plane.barometer, accumulate, 50, 150),
|
||||
SCHED_TASK(update_notify, 50, 300),
|
||||
|
@ -888,7 +888,6 @@ private:
|
||||
void failsafe_short_off_event(mode_reason_t reason);
|
||||
void failsafe_long_off_event(mode_reason_t reason);
|
||||
void handle_battery_failsafe(const char* type_str, const int8_t action);
|
||||
void update_events(void);
|
||||
uint8_t max_fencepoints(void);
|
||||
Vector2l get_fence_point_with_index(unsigned i);
|
||||
void set_fence_point_with_index(const Vector2l &point, unsigned i);
|
||||
|
@ -174,8 +174,3 @@ void Plane::handle_battery_failsafe(const char *type_str, const int8_t action)
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
void Plane::update_events(void)
|
||||
{
|
||||
ServoRelayEvents.update_events();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user