mirror of https://github.com/ArduPilot/ardupilot
AP_MotorsHeli_RSC: Make variables in constructor const
This commit is contained in:
parent
aabaa0939a
commit
1de229debc
|
@ -154,8 +154,8 @@ private:
|
||||||
const uint8_t _instance;
|
const uint8_t _instance;
|
||||||
|
|
||||||
// channel setup for aux function
|
// channel setup for aux function
|
||||||
SRV_Channel::Aux_servo_function_t _aux_fn;
|
const SRV_Channel::Aux_servo_function_t _aux_fn;
|
||||||
uint8_t _default_channel;
|
const uint8_t _default_channel;
|
||||||
|
|
||||||
// internal variables
|
// internal variables
|
||||||
RotorControlMode _control_mode = ROTOR_CONTROL_MODE_DISABLED; // motor control mode, Passthrough or Setpoint
|
RotorControlMode _control_mode = ROTOR_CONTROL_MODE_DISABLED; // motor control mode, Passthrough or Setpoint
|
||||||
|
|
Loading…
Reference in New Issue