Browse Source

AP_Airspeed: replace header guard with pragma once

mission-4.1.18
Lucas De Marchi 9 years ago committed by Andrew Tridgell
parent
commit
ffe36afeb2
  1. 2
      libraries/AP_Airspeed/AP_Airspeed_Backend.h
  2. 2
      libraries/AP_Airspeed/AP_Airspeed_I2C.h
  3. 2
      libraries/AP_Airspeed/AP_Airspeed_PX4.h

2
libraries/AP_Airspeed/AP_Airspeed_Backend.h

@ -14,11 +14,11 @@ @@ -14,11 +14,11 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
/*
backend driver class for airspeed
*/
#pragma once
#include <AP_Common/AP_Common.h>
#include <AP_HAL/AP_HAL.h>

2
libraries/AP_Airspeed/AP_Airspeed_I2C.h

@ -14,11 +14,11 @@ @@ -14,11 +14,11 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
/*
backend driver for airspeed from I2C
*/
#pragma once
#include <AP_HAL/AP_HAL.h>

2
libraries/AP_Airspeed/AP_Airspeed_PX4.h

@ -14,11 +14,11 @@ @@ -14,11 +14,11 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
/*
backend driver for airspeed from PX4Firmware
*/
#pragma once
#include <AP_HAL/AP_HAL.h>
#include "AP_Airspeed_Backend.h"

Loading…
Cancel
Save