Plane: Move AP_Generator to AP_Vehicle

This commit is contained in:
Gone4Dirt 2020-10-22 18:18:04 +01:00 committed by Peter Barker
parent d25f9d5d3a
commit 70246059ed
2 changed files with 0 additions and 6 deletions

View File

@ -106,9 +106,6 @@ const AP_Scheduler::Task Plane::scheduler_tasks[] = {
#if OSD_ENABLED == ENABLED
SCHED_TASK(publish_osd_info, 1, 10),
#endif
#if GENERATOR_ENABLED
SCHED_TASK_CLASS(AP_Generator_RichenPower, &plane.generator, update, 10, 50),
#endif
#if LANDING_GEAR_ENABLED == ENABLED
SCHED_TASK(landing_gear_update, 5, 50),
#endif

View File

@ -70,9 +70,6 @@ void Plane::init_ardupilot()
// setup telem slots with serial ports
gcs().setup_uarts();
#if GENERATOR_ENABLED
generator.init();
#endif
#if OSD_ENABLED == ENABLED
osd.init();