|
|
|
@ -112,7 +112,7 @@ const AP_Scheduler::Task Plane::scheduler_tasks[] = {
@@ -112,7 +112,7 @@ const AP_Scheduler::Task Plane::scheduler_tasks[] = {
|
|
|
|
|
#if LANDING_GEAR_ENABLED == ENABLED |
|
|
|
|
SCHED_TASK(landing_gear_update, 5, 50), |
|
|
|
|
#endif |
|
|
|
|
#if EFI_ENABLED |
|
|
|
|
#if HAL_EFI_ENABLED |
|
|
|
|
SCHED_TASK(efi_update, 10, 200), |
|
|
|
|
#endif |
|
|
|
|
}; |
|
|
|
@ -329,7 +329,7 @@ void Plane::compass_save()
@@ -329,7 +329,7 @@ void Plane::compass_save()
|
|
|
|
|
|
|
|
|
|
void Plane::efi_update(void) |
|
|
|
|
{ |
|
|
|
|
#if EFI_ENABLED |
|
|
|
|
#if HAL_EFI_ENABLED |
|
|
|
|
g2.efi.update(); |
|
|
|
|
#endif |
|
|
|
|
} |
|
|
|
|