AP_Compass: remove trailing whitespaces in header

This commit is contained in:
Lucas De Marchi 2016-03-10 21:13:31 -03:00
parent cb8355c315
commit b3d26c5988
3 changed files with 7 additions and 7 deletions

View File

@ -17,7 +17,7 @@ public:
private:
uint8_t _num_sensors;
uint8_t _instance[COMPASS_MAX_INSTANCES];
int _mag_fd[COMPASS_MAX_INSTANCES];
Vector3f _sum[COMPASS_MAX_INSTANCES];

View File

@ -18,7 +18,7 @@ public:
private:
void timer_update(void);
uint8_t instance;
Vector3f sum;
uint32_t count;

View File

@ -70,7 +70,7 @@ public:
/// Read the compass and update the mag_ variables.
///
bool read();
bool read();
/// use spare CPU cycles to accumulate values from the compass if
/// possible (this method should also be implemented in the backends)
@ -322,7 +322,7 @@ private:
//keep track of number of calibration reports sent
uint8_t _reports_sent[COMPASS_MAX_INSTANCES];
//autoreboot after compass calibration
bool _compass_cal_autoreboot;
bool _cal_complete_requires_reboot;
@ -342,16 +342,16 @@ private:
enum Rotation _board_orientation;
// primary instance
AP_Int8 _primary;
AP_Int8 _primary;
// declination in radians
AP_Float _declination;
// enable automatic declination code
AP_Int8 _auto_declination;
AP_Int8 _auto_declination;
// first-time-around flag used by offset nulling
bool _null_init_done;
bool _null_init_done;
// used by offset correction
static const uint8_t _mag_history_size = 20;