diff --git a/ArduCopter/ArduCopter.cpp b/ArduCopter/ArduCopter.cpp index f8e8ae0f06..57f4d7b808 100644 --- a/ArduCopter/ArduCopter.cpp +++ b/ArduCopter/ArduCopter.cpp @@ -187,12 +187,12 @@ void Copter::setup() init_ardupilot(); // initialise the main loop scheduler - scheduler.init(&scheduler_tasks[0], ARRAY_SIZE(scheduler_tasks)); + scheduler.init(&scheduler_tasks[0], ARRAY_SIZE(scheduler_tasks), MASK_LOG_PM); } void Copter::perf_update(void) { - scheduler.update_logging(should_log(MASK_LOG_PM)); + scheduler.update_logging(); } void Copter::loop()