AP_NavEKF2: replace header guard with pragma once

This commit is contained in:
Lucas De Marchi 2016-02-17 23:25:39 -02:00 committed by Andrew Tridgell
parent 3a771bf0e3
commit e40b87cd0e
2 changed files with 2 additions and 10 deletions

View File

@ -18,9 +18,7 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef AP_NavEKF2_Tuning
#define AP_NavEKF2_Tuning
#pragma once
#include <AP_Math/AP_Math.h>
#include <AP_Param/AP_Param.h>
@ -341,5 +339,3 @@ private:
const uint8_t gndGradientSigma; // RMS terrain gradient percentage assumed by the terrain height estimation
const uint8_t fusionTimeStep_ms; // The minimum time interval between covariance predictions and measurement fusions in msec
};
#endif //AP_NavEKF2

View File

@ -17,9 +17,7 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef AP_NavEKF2_core
#define AP_NavEKF2_core
#pragma once
#pragma GCC optimize("O3")
@ -934,5 +932,3 @@ private:
// vehicle specific initial gyro bias uncertainty
float InitialGyroBiasUncertainty(void) const;
};
#endif // AP_NavEKF2_core