mirror of https://github.com/ArduPilot/ardupilot
AP_ADC: replace header guard with pragma once
This commit is contained in:
parent
393bea8945
commit
6623246cf5
|
@ -1,5 +1,4 @@
|
||||||
#ifndef AP_ADC_H
|
#pragma once
|
||||||
#define AP_ADC_H
|
|
||||||
|
|
||||||
#include <AP_Common/AP_Common.h>
|
#include <AP_Common/AP_Common.h>
|
||||||
/*
|
/*
|
||||||
|
@ -58,5 +57,3 @@ private:
|
||||||
|
|
||||||
#include "AP_ADC_ADS7844.h"
|
#include "AP_ADC_ADS7844.h"
|
||||||
#include "AP_ADC_ADS1115.h"
|
#include "AP_ADC_ADS1115.h"
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
|
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
|
||||||
#ifndef __AP_ADC_ADS7844_H__
|
#pragma once
|
||||||
#define __AP_ADC_ADS7844_H__
|
|
||||||
|
|
||||||
|
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
#include "AP_ADC.h"
|
#include "AP_ADC.h"
|
||||||
|
@ -30,5 +28,3 @@ private:
|
||||||
AP_HAL::SPIDeviceDriver *_spi;
|
AP_HAL::SPIDeviceDriver *_spi;
|
||||||
AP_HAL::Semaphore *_spi_sem;
|
AP_HAL::Semaphore *_spi_sem;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
Loading…
Reference in New Issue