Browse Source

AP_IRLock: replace header guard with pragma once

master
Lucas De Marchi 9 years ago committed by Andrew Tridgell
parent
commit
152f169b76
  1. 6
      libraries/AP_IRLock/AP_IRLock_PX4.h
  2. 7
      libraries/AP_IRLock/IRLock.h

6
libraries/AP_IRLock/AP_IRLock_PX4.h

@ -4,9 +4,7 @@ @@ -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: @@ -25,5 +23,3 @@ private:
int _fd;
uint64_t _last_timestamp;
};
#endif /* AP_IRLOCK_PX4_H_ */

7
libraries/AP_IRLock/IRLock.h

@ -19,9 +19,7 @@ @@ -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: @@ -75,6 +73,3 @@ protected:
irlock_target_info _target_info[IRLOCK_MAX_TARGETS];
};
#endif /* __IRLOCK_H__ */

Loading…
Cancel
Save