mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
AP_Vehicle: replace header guard with pragma once
This commit is contained in:
parent
8fcf551505
commit
80749af698
@ -12,8 +12,8 @@
|
|||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
#ifndef AP_VEHICLE_H
|
#pragma once
|
||||||
#define AP_VEHICLE_H
|
|
||||||
/*
|
/*
|
||||||
this header holds a parameter structure for each vehicle type for
|
this header holds a parameter structure for each vehicle type for
|
||||||
parameters needed by multiple libraries
|
parameters needed by multiple libraries
|
||||||
@ -54,5 +54,3 @@ public:
|
|||||||
|
|
||||||
|
|
||||||
#include "AP_Vehicle_Type.h"
|
#include "AP_Vehicle_Type.h"
|
||||||
|
|
||||||
#endif // AP_VEHICLE_H
|
|
||||||
|
@ -12,8 +12,7 @@
|
|||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
#ifndef AP_VEHICLE_TYPE_H
|
#pragma once
|
||||||
#define AP_VEHICLE_TYPE_H
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
define common vehicle build types. Note that the APM_BUILD_DIRECTORY
|
define common vehicle build types. Note that the APM_BUILD_DIRECTORY
|
||||||
@ -38,5 +37,3 @@
|
|||||||
#else
|
#else
|
||||||
#define APM_BUILD_TYPE(type) ((type) == APM_BUILD_UNKNOWN)
|
#define APM_BUILD_TYPE(type) ((type) == APM_BUILD_UNKNOWN)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // AP_VEHICLE_TYPE_H
|
|
||||||
|
Loading…
Reference in New Issue
Block a user