Commander: switch main_state functions to pass by reference

This commit is contained in:
Matthias Grob
2021-03-30 22:33:01 -04:00
committed by Daniel Agar
parent 531de5c588
commit 29e1e0905c
2 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -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();