mirror of https://github.com/ArduPilot/ardupilot
GCS_Console: replace header guard with pragma once
This commit is contained in:
parent
ec36e06c63
commit
96ad73d198
|
@ -1,6 +1,4 @@
|
|||
|
||||
#ifndef __GCS_CONSOLE_H__
|
||||
#define __GCS_CONSOLE_H__
|
||||
#pragma once
|
||||
|
||||
#include <GCS_MAVLink/GCS_MAVLink.h>
|
||||
|
||||
|
@ -21,5 +19,3 @@ void gcs_console_handle_data16(mavlink_message_t* msg);
|
|||
void gcs_console_handle_data32(mavlink_message_t* msg);
|
||||
|
||||
void gcs_console_send(mavlink_channel_t chan);
|
||||
|
||||
#endif // __GCS_CONSOLE_H__
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
|
||||
#ifndef __SIMPLE_GCS_H__
|
||||
#define __SIMPLE_GCS_H__
|
||||
#pragma once
|
||||
|
||||
#include <GCS_MAVLink/GCS_MAVLink.h>
|
||||
|
||||
|
@ -10,6 +8,3 @@ bool try_send_statustext(mavlink_channel_t chan, const char *text, int len);
|
|||
|
||||
void simplegcs_update(mavlink_channel_t chan);
|
||||
void handle_message(mavlink_channel_t chan, mavlink_message_t* msg);
|
||||
|
||||
#endif // __SIMPLE_GCS_H__
|
||||
|
||||
|
|
Loading…
Reference in New Issue