Copter: Move AP_Generator to AP_Vehicle

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

View File

@ -181,9 +181,6 @@ const AP_Scheduler::Task Copter::scheduler_tasks[] = {
#if WINCH_ENABLED == ENABLED
SCHED_TASK_CLASS(AP_Winch, &copter.g2.winch, update, 50, 50),
#endif
#if GENERATOR_ENABLED
SCHED_TASK_CLASS(AP_Generator_RichenPower, &copter.generator, update, 10, 50),
#endif
#ifdef USERHOOK_FASTLOOP
SCHED_TASK(userhook_FastLoop, 100, 75),
#endif

View File

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