webaccess007 / aeroquad

Automatically exported from code.google.com/p/aeroquad
0 stars 0 forks source link

Some test variables are defined global, should be class members #79

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In AeroQuad.h you have
#if defined(AeroQuadMega_CHR6DM) || defined(APM_OP_CHR6DM)
  float fakeGyroRoll;
  float fakeGyroPitch;
  float fakeGyroYaw;
  float fakeAccelRoll;
  float fakeAccelPitch;
  float fakeAccelYaw;
#endif

Move them as private class members to Gyro_CHR6DM_Fake and Accel_CHR6DM_Fake.

These globals are not used at all:
float mLevelTransmitter = 0.09;
float bLevelTransmitter = -135;

Original issue reported on code.google.com by al...@arcor.de on 15 Jan 2011 at 1:37

GoogleCodeExporter commented 9 years ago
done!

Original comment by CaranchoEngineering@gmail.com on 18 Jan 2011 at 9:19