mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-30 20:48:33 -04:00
AP_Notify: replace header guard with pragma once
This commit is contained in:
parent
705393b30c
commit
09d926fa11
@ -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
|
||||
|
@ -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
|
||||
|
@ -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__
|
||||
|
Loading…
Reference in New Issue
Block a user