AP_ADC: replace header guard with pragma once

This commit is contained in:
Lucas De Marchi 2016-02-17 23:25:12 -02:00
parent 393bea8945
commit 6623246cf5
2 changed files with 2 additions and 9 deletions

View File

@ -1,5 +1,4 @@
#ifndef AP_ADC_H
#define AP_ADC_H
#pragma once
#include <AP_Common/AP_Common.h>
/*
@ -58,5 +57,3 @@ private:
#include "AP_ADC_ADS7844.h"
#include "AP_ADC_ADS1115.h"
#endif

View File

@ -1,7 +1,5 @@
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#ifndef __AP_ADC_ADS7844_H__
#define __AP_ADC_ADS7844_H__
#pragma once
#include <inttypes.h>
#include "AP_ADC.h"
@ -30,5 +28,3 @@ private:
AP_HAL::SPIDeviceDriver *_spi;
AP_HAL::Semaphore *_spi_sem;
};
#endif