AP_Notify: replace header guard with pragma once

This commit is contained in:
Lucas De Marchi 2016-02-17 23:25:41 -02:00
parent 705393b30c
commit 09d926fa11
3 changed files with 3 additions and 14 deletions

View File

@ -17,9 +17,7 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __NAVIO_LED_H__
#define __NAVIO_LED_H__
#pragma once
#include "RGBLed.h"
@ -27,5 +25,3 @@ class NavioLED: public RGBLed {
public:
NavioLED();
};
#endif

View File

@ -1,5 +1,4 @@
#ifndef __NOTIFYDEVICE_H__
#define __NOTIFYDEVICE_H__
#pragma once
#include <AP_Common/AP_Common.h>
#include <GCS_MAVLink/GCS_MAVLink.h>
@ -20,5 +19,3 @@ public:
// this pointer is used to read the parameters relative to devices
const AP_Notify *pNotify;
};
#endif

View File

@ -17,9 +17,7 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __RGBLED_H__
#define __RGBLED_H__
#pragma once
#include <AP_HAL/AP_HAL.h>
#include "NotifyDevice.h"
@ -59,5 +57,3 @@ protected:
private:
virtual void update_colours();
};
#endif //__RGBLED_H__