AP_IRLock: replace header guard with pragma once
This commit is contained in:
parent
79837c343f
commit
152f169b76
@ -4,9 +4,7 @@
|
||||
* Created on: Nov 10, 2014
|
||||
* Author: MLandes
|
||||
*/
|
||||
|
||||
#ifndef AP_IRLOCK_PX4_H_
|
||||
#define AP_IRLOCK_PX4_H_
|
||||
#pragma once
|
||||
|
||||
#include "IRLock.h"
|
||||
|
||||
@ -25,5 +23,3 @@ private:
|
||||
int _fd;
|
||||
uint64_t _last_timestamp;
|
||||
};
|
||||
|
||||
#endif /* AP_IRLOCK_PX4_H_ */
|
||||
|
@ -19,9 +19,7 @@
|
||||
* Created on: Nov 10, 2014
|
||||
* Author: MLandes
|
||||
*/
|
||||
|
||||
#ifndef __IRLOCK_H__
|
||||
#define __IRLOCK_H__
|
||||
#pragma once
|
||||
|
||||
#include <AP_AHRS/AP_AHRS.h>
|
||||
|
||||
@ -75,6 +73,3 @@ protected:
|
||||
|
||||
irlock_target_info _target_info[IRLOCK_MAX_TARGETS];
|
||||
};
|
||||
|
||||
|
||||
#endif /* __IRLOCK_H__ */
|
||||
|
Loading…
Reference in New Issue
Block a user