mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-07 08:23:56 -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
|
You should have received a copy of the GNU General Public License
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
#pragma once
|
||||||
#ifndef __NAVIO_LED_H__
|
|
||||||
#define __NAVIO_LED_H__
|
|
||||||
|
|
||||||
#include "RGBLed.h"
|
#include "RGBLed.h"
|
||||||
|
|
||||||
@ -27,5 +25,3 @@ class NavioLED: public RGBLed {
|
|||||||
public:
|
public:
|
||||||
NavioLED();
|
NavioLED();
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
#ifndef __NOTIFYDEVICE_H__
|
#pragma once
|
||||||
#define __NOTIFYDEVICE_H__
|
|
||||||
|
|
||||||
#include <AP_Common/AP_Common.h>
|
#include <AP_Common/AP_Common.h>
|
||||||
#include <GCS_MAVLink/GCS_MAVLink.h>
|
#include <GCS_MAVLink/GCS_MAVLink.h>
|
||||||
@ -20,5 +19,3 @@ public:
|
|||||||
// this pointer is used to read the parameters relative to devices
|
// this pointer is used to read the parameters relative to devices
|
||||||
const AP_Notify *pNotify;
|
const AP_Notify *pNotify;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
|
||||||
|
@ -17,9 +17,7 @@
|
|||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
#pragma once
|
||||||
#ifndef __RGBLED_H__
|
|
||||||
#define __RGBLED_H__
|
|
||||||
|
|
||||||
#include <AP_HAL/AP_HAL.h>
|
#include <AP_HAL/AP_HAL.h>
|
||||||
#include "NotifyDevice.h"
|
#include "NotifyDevice.h"
|
||||||
@ -59,5 +57,3 @@ protected:
|
|||||||
private:
|
private:
|
||||||
virtual void update_colours();
|
virtual void update_colours();
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif //__RGBLED_H__
|
|
||||||
|
Loading…
Reference in New Issue
Block a user