mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 02:18:29 -04:00
AP_AHRS_MPU6000: resolve compiler warning re shadowing
This commit is contained in:
parent
49eb36e0cb
commit
8ae437dc23
@ -63,7 +63,7 @@ public:
|
||||
float get_error_yaw(void);
|
||||
|
||||
// set_as_secondary - avoid running some steps twice (imu updates) if this is a secondary ahrs
|
||||
void set_as_secondary(bool set_as_secondary) { _secondary_ahrs = set_as_secondary; }
|
||||
void set_as_secondary(bool secondary) { _secondary_ahrs = secondary; }
|
||||
|
||||
private:
|
||||
float _ki;
|
||||
|
Loading…
Reference in New Issue
Block a user