mirror of https://github.com/ArduPilot/ardupilot
Sub: Remove one layer of abstraction for ServoRelayEvents.update_events
call
This commit is contained in:
parent
cb38c66479
commit
5b4ec88f11
|
@ -362,7 +362,7 @@ void Sub::three_hz_loop()
|
|||
fence_check();
|
||||
#endif // AC_FENCE_ENABLED
|
||||
|
||||
update_events();
|
||||
ServoRelayEvents.update_events();
|
||||
}
|
||||
|
||||
// one_hz_loop - runs at 1Hz
|
||||
|
|
|
@ -635,7 +635,6 @@ private:
|
|||
void failsafe_terrain_check();
|
||||
void failsafe_terrain_set_status(bool data_ok);
|
||||
void failsafe_terrain_on_event();
|
||||
void update_events();
|
||||
void failsafe_enable();
|
||||
void failsafe_disable();
|
||||
void fence_check();
|
||||
|
|
|
@ -294,9 +294,3 @@ bool Sub::should_disarm_on_failsafe()
|
|||
break;
|
||||
}
|
||||
}
|
||||
|
||||
void Sub::update_events()
|
||||
{
|
||||
ServoRelayEvents.update_events();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue