AP_MotorsHeli_RSC: Make variables in constructor const

This commit is contained in:
Gone4Dirt 2024-08-06 19:37:20 +01:00 committed by Bill Geyer
parent aabaa0939a
commit 1de229debc
1 changed files with 2 additions and 2 deletions

View File

@ -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