diff --git a/ArduCopter/Copter.cpp b/ArduCopter/Copter.cpp index f64042b9b8..e5edb8bae9 100644 --- a/ArduCopter/Copter.cpp +++ b/ArduCopter/Copter.cpp @@ -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 diff --git a/ArduCopter/system.cpp b/ArduCopter/system.cpp index d0884bb83c..5c50fbf49a 100644 --- a/ArduCopter/system.cpp +++ b/ArduCopter/system.cpp @@ -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