mirror of https://github.com/ArduPilot/ardupilot
AP_Vehicle: correct AP_Filter defines
- checking the build type is very rarely used and definitely not required here - fix boilerplate to conform to normal pattern of including the config header and #if'ing based on the _ENABLED directly after that
This commit is contained in:
parent
15e0f689c2
commit
e806adb009
|
@ -568,7 +568,7 @@ const AP_Scheduler::Task AP_Vehicle::scheduler_tasks[] = {
|
|||
#if HAL_WITH_ESC_TELEM && HAL_GYROFFT_ENABLED
|
||||
SCHED_TASK(check_motor_noise, 5, 50, 252),
|
||||
#endif
|
||||
#if AP_FILTER_ENABLED && !APM_BUILD_TYPE(APM_BUILD_AP_Periph)
|
||||
#if AP_FILTER_ENABLED
|
||||
SCHED_TASK_CLASS(AP_Filters, &vehicle.filters, update, 1, 100, 252),
|
||||
#endif
|
||||
SCHED_TASK(update_arming, 1, 50, 253),
|
||||
|
|
Loading…
Reference in New Issue