AP_Vehicle: make sure notch update rate is configurable

This commit is contained in:
Andy Piper 2021-11-14 08:41:30 +00:00 committed by Randy Mackay
parent 830130b8b6
commit 944471bc30
1 changed files with 1 additions and 1 deletions

View File

@ -224,7 +224,7 @@ const AP_Scheduler::Task AP_Vehicle::scheduler_tasks[] = {
SCHED_TASK_CLASS(AP_GyroFFT, &vehicle.gyro_fft, update, 400, 50), SCHED_TASK_CLASS(AP_GyroFFT, &vehicle.gyro_fft, update, 400, 50),
SCHED_TASK_CLASS(AP_GyroFFT, &vehicle.gyro_fft, update_parameters, 1, 50), SCHED_TASK_CLASS(AP_GyroFFT, &vehicle.gyro_fft, update_parameters, 1, 50),
#endif #endif
SCHED_TASK(update_dynamic_notch, LOOP_RATE, 200), SCHED_TASK(update_dynamic_notch_at_specified_rate, LOOP_RATE, 200),
SCHED_TASK_CLASS(AP_VideoTX, &vehicle.vtx, update, 2, 100), SCHED_TASK_CLASS(AP_VideoTX, &vehicle.vtx, update, 2, 100),
SCHED_TASK(send_watchdog_reset_statustext, 0.1, 20), SCHED_TASK(send_watchdog_reset_statustext, 0.1, 20),
#if HAL_WITH_ESC_TELEM #if HAL_WITH_ESC_TELEM