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
|
* Created on: Nov 10, 2014
|
||||||
* Author: MLandes
|
* Author: MLandes
|
||||||
*/
|
*/
|
||||||
|
#pragma once
|
||||||
#ifndef AP_IRLOCK_PX4_H_
|
|
||||||
#define AP_IRLOCK_PX4_H_
|
|
||||||
|
|
||||||
#include "IRLock.h"
|
#include "IRLock.h"
|
||||||
|
|
||||||
@ -25,5 +23,3 @@ private:
|
|||||||
int _fd;
|
int _fd;
|
||||||
uint64_t _last_timestamp;
|
uint64_t _last_timestamp;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /* AP_IRLOCK_PX4_H_ */
|
|
||||||
|
@ -19,9 +19,7 @@
|
|||||||
* Created on: Nov 10, 2014
|
* Created on: Nov 10, 2014
|
||||||
* Author: MLandes
|
* Author: MLandes
|
||||||
*/
|
*/
|
||||||
|
#pragma once
|
||||||
#ifndef __IRLOCK_H__
|
|
||||||
#define __IRLOCK_H__
|
|
||||||
|
|
||||||
#include <AP_AHRS/AP_AHRS.h>
|
#include <AP_AHRS/AP_AHRS.h>
|
||||||
|
|
||||||
@ -75,6 +73,3 @@ protected:
|
|||||||
|
|
||||||
irlock_target_info _target_info[IRLOCK_MAX_TARGETS];
|
irlock_target_info _target_info[IRLOCK_MAX_TARGETS];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
#endif /* __IRLOCK_H__ */
|
|
||||||
|
Loading…
Reference in New Issue
Block a user