mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-22 07:44:03 -04:00
RC_Channel: expose do_aux_function for button to call
This commit is contained in:
parent
3264fd750b
commit
0f597e0919
@ -232,10 +232,11 @@ public:
|
||||
bool read_3pos_switch(AuxSwitchPos &ret) const WARN_IF_UNUSED;
|
||||
AuxSwitchPos get_aux_switch_pos() const;
|
||||
|
||||
virtual void do_aux_function(aux_func_t ch_option, AuxSwitchPos);
|
||||
|
||||
protected:
|
||||
|
||||
virtual void init_aux_function(aux_func_t ch_option, AuxSwitchPos);
|
||||
virtual void do_aux_function(aux_func_t ch_option, AuxSwitchPos);
|
||||
|
||||
virtual void do_aux_function_armdisarm(const AuxSwitchPos ch_flag);
|
||||
void do_aux_function_avoid_adsb(const AuxSwitchPos ch_flag);
|
||||
|
Loading…
Reference in New Issue
Block a user