mirror of https://github.com/ArduPilot/ardupilot
AP_HAL_QURT: replace header guard with pragma once
This commit is contained in:
parent
28f67f0947
commit
6f028502b0
|
@ -12,9 +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/>.
|
||||||
*/
|
*/
|
||||||
|
#pragma once
|
||||||
#ifndef __AP_HAL_QURT_H__
|
|
||||||
#define __AP_HAL_QURT_H__
|
|
||||||
|
|
||||||
/* Your layer exports should depend on AP_HAL.h ONLY. */
|
/* Your layer exports should depend on AP_HAL.h ONLY. */
|
||||||
#include <AP_HAL/AP_HAL.h>
|
#include <AP_HAL/AP_HAL.h>
|
||||||
|
@ -25,6 +23,3 @@
|
||||||
#include "AP_HAL_QURT_Main.h"
|
#include "AP_HAL_QURT_Main.h"
|
||||||
|
|
||||||
#endif // CONFIG_HAL_BOARD
|
#endif // CONFIG_HAL_BOARD
|
||||||
|
|
||||||
#endif //__AP_HAL_QURT_H__
|
|
||||||
|
|
||||||
|
|
|
@ -12,8 +12,4 @@
|
||||||
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/>.
|
||||||
*/
|
*/
|
||||||
|
#pragma once
|
||||||
#ifndef __AP_HAL_QURT_MAIN_H__
|
|
||||||
#define __AP_HAL_QURT_MAIN_H__
|
|
||||||
|
|
||||||
#endif // __AP_HAL_QURT_MAIN_H__
|
|
||||||
|
|
|
@ -12,9 +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/>.
|
||||||
*/
|
*/
|
||||||
|
#pragma once
|
||||||
#ifndef __AP_HAL_QURT_PRIVATE_H__
|
|
||||||
#define __AP_HAL_QURT_PRIVATE_H__
|
|
||||||
|
|
||||||
/* Umbrella header for all private headers of the AP_HAL_QURT module.
|
/* Umbrella header for all private headers of the AP_HAL_QURT module.
|
||||||
* Only import this header from inside AP_HAL_QURT
|
* Only import this header from inside AP_HAL_QURT
|
||||||
|
@ -23,6 +21,3 @@
|
||||||
#include "UARTDriver.h"
|
#include "UARTDriver.h"
|
||||||
#include "UDPDriver.h"
|
#include "UDPDriver.h"
|
||||||
#include "Util.h"
|
#include "Util.h"
|
||||||
|
|
||||||
#endif // __AP_HAL_QURT_PRIVATE_H__
|
|
||||||
|
|
||||||
|
|
|
@ -12,9 +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/>.
|
||||||
*/
|
*/
|
||||||
|
#pragma once
|
||||||
#ifndef __AP_HAL_QURT_CLASS_H__
|
|
||||||
#define __AP_HAL_QURT_CLASS_H__
|
|
||||||
|
|
||||||
#include <AP_HAL/AP_HAL.h>
|
#include <AP_HAL/AP_HAL.h>
|
||||||
|
|
||||||
|
@ -25,6 +23,3 @@ public:
|
||||||
HAL_QURT();
|
HAL_QURT();
|
||||||
void run(int argc, char* const* argv, Callbacks* callbacks) const override;
|
void run(int argc, char* const* argv, Callbacks* callbacks) const override;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // __AP_HAL_QURT_CLASS_H__
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue