mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
Copter: Move AP_Generator to AP_Vehicle
This commit is contained in:
parent
70246059ed
commit
434af4a4d4
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user