5
0
mirror of https://github.com/ArduPilot/ardupilot synced 2025-01-10 09:58:28 -04:00

Sub: Remove one layer of abstraction for ServoRelayEvents.update_events

call
This commit is contained in:
Jacob Walser 2017-03-23 00:13:38 -04:00
parent cb38c66479
commit 5b4ec88f11
3 changed files with 1 additions and 8 deletions

View File

@ -362,7 +362,7 @@ void Sub::three_hz_loop()
fence_check(); fence_check();
#endif // AC_FENCE_ENABLED #endif // AC_FENCE_ENABLED
update_events(); ServoRelayEvents.update_events();
} }
// one_hz_loop - runs at 1Hz // one_hz_loop - runs at 1Hz

View File

@ -635,7 +635,6 @@ private:
void failsafe_terrain_check(); void failsafe_terrain_check();
void failsafe_terrain_set_status(bool data_ok); void failsafe_terrain_set_status(bool data_ok);
void failsafe_terrain_on_event(); void failsafe_terrain_on_event();
void update_events();
void failsafe_enable(); void failsafe_enable();
void failsafe_disable(); void failsafe_disable();
void fence_check(); void fence_check();

View File

@ -294,9 +294,3 @@ bool Sub::should_disarm_on_failsafe()
break; break;
} }
} }
void Sub::update_events()
{
ServoRelayEvents.update_events();
}