Skip to content

Commit

Permalink
AP_MotorsHeli_RSC: Make variables in constructor const
Browse files Browse the repository at this point in the history
  • Loading branch information
MattKear committed Aug 7, 2024
1 parent f487041 commit 0e5f2c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libraries/AP_Motors/AP_MotorsHeli_RSC.h
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,8 @@ class AP_MotorsHeli_RSC {
const uint8_t _instance;

// channel setup for aux function
SRV_Channel::Aux_servo_function_t _aux_fn;
uint8_t _default_channel;
const SRV_Channel::Aux_servo_function_t _aux_fn;
const uint8_t _default_channel;

// internal variables
RotorControlMode _control_mode = ROTOR_CONTROL_MODE_DISABLED; // motor control mode, Passthrough or Setpoint
Expand Down

0 comments on commit 0e5f2c8

Please sign in to comment.