From b3d26c5988d8ffed9187fd89391aa56a7ff933ce Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Thu, 10 Mar 2016 21:13:31 -0300 Subject: [PATCH] AP_Compass: remove trailing whitespaces in header --- libraries/AP_Compass/AP_Compass_PX4.h | 2 +- libraries/AP_Compass/AP_Compass_QURT.h | 2 +- libraries/AP_Compass/Compass.h | 10 +++++----- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/libraries/AP_Compass/AP_Compass_PX4.h b/libraries/AP_Compass/AP_Compass_PX4.h index f02882717a..23d0248d72 100644 --- a/libraries/AP_Compass/AP_Compass_PX4.h +++ b/libraries/AP_Compass/AP_Compass_PX4.h @@ -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]; diff --git a/libraries/AP_Compass/AP_Compass_QURT.h b/libraries/AP_Compass/AP_Compass_QURT.h index 3d800db28a..510b5c8ad2 100644 --- a/libraries/AP_Compass/AP_Compass_QURT.h +++ b/libraries/AP_Compass/AP_Compass_QURT.h @@ -18,7 +18,7 @@ public: private: void timer_update(void); - + uint8_t instance; Vector3f sum; uint32_t count; diff --git a/libraries/AP_Compass/Compass.h b/libraries/AP_Compass/Compass.h index d2b8f4e443..215297e1bc 100644 --- a/libraries/AP_Compass/Compass.h +++ b/libraries/AP_Compass/Compass.h @@ -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;