AP_IRLock: replace header guard with pragma once

This commit is contained in:
Lucas De Marchi 2016-02-17 23:25:31 -02:00 committed by Andrew Tridgell
parent 79837c343f
commit 152f169b76
2 changed files with 2 additions and 11 deletions

View File

@ -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_ */

View File

@ -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__ */