mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 23:13:34 +08:00
Commander: switch main_state functions to pass by reference
This commit is contained in:
committed by
Daniel Agar
parent
531de5c588
commit
29e1e0905c
@@ -175,10 +175,10 @@ private:
|
||||
void UpdateEstimateValidity();
|
||||
|
||||
// Set the main system state based on RC and override device inputs
|
||||
transition_result_t set_main_state(bool *changed);
|
||||
transition_result_t set_main_state(bool &changed);
|
||||
|
||||
// Enable override (manual reversion mode) on the system
|
||||
transition_result_t set_main_state_override_on(bool *changed);
|
||||
transition_result_t set_main_state_override_on(bool &changed);
|
||||
|
||||
// Set the system main state based on the current RC inputs
|
||||
transition_result_t set_main_state_rc();
|
||||
|
||||
Reference in New Issue
Block a user