Include guard script applied to all headers in the radio directory
This commit is contained in:
@@ -34,10 +34,10 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef ardupilot_h
|
||||
#define ardupilot_h
|
||||
#ifndef _ARDUPILOT_H_
|
||||
#define _ARDUPILOT_H_
|
||||
void ARDUPILOT_Init(void);
|
||||
void ARDUPILOT_EnableRXD (void);
|
||||
void menuTelemetryArduPilot(uint8_t event);
|
||||
#endif
|
||||
#endif // _ARDUPILOT_H_
|
||||
|
||||
|
||||
@@ -34,8 +34,8 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef FRSKY_H
|
||||
#define FRSKY_H
|
||||
#ifndef _FRSKY_H_
|
||||
#define _FRSKY_H_
|
||||
|
||||
#include <inttypes.h>
|
||||
|
||||
@@ -569,4 +569,4 @@ void processSerialData(uint8_t data);
|
||||
#define MODEL_TELEMETRY_PROTOCOL() g_model.telemetryProtocol
|
||||
#endif
|
||||
|
||||
#endif
|
||||
#endif // _FRSKY_H_
|
||||
|
||||
@@ -34,8 +34,8 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef jeti_h
|
||||
#define jeti_h
|
||||
#ifndef _JETI_H_
|
||||
#define _JETI_H_
|
||||
|
||||
#define JETI_KEY_LEFT 0x70
|
||||
#define JETI_KEY_RIGHT 0xe0
|
||||
@@ -52,5 +52,5 @@ void JETI_DisableTXD (void);
|
||||
void telemetryInterrupt10ms();
|
||||
void menuTelemetryJeti(uint8_t event);
|
||||
|
||||
#endif
|
||||
#endif // _JETI_H_
|
||||
|
||||
|
||||
@@ -36,8 +36,8 @@
|
||||
* Mavlink include file
|
||||
*/
|
||||
|
||||
#ifndef _MAVLINK_H_
|
||||
#define _MAVLINK_H_
|
||||
#ifndef _MAVLINK_H_
|
||||
#define _MAVLINK_H_
|
||||
|
||||
#define MAVLINK_USE_CONVENIENCE_FUNCTIONS
|
||||
#define MAVLINK_COMM_NUM_BUFFERS 1
|
||||
@@ -332,5 +332,5 @@ inline uint8_t getPrecisMavlinParamsValue(uint8_t idx) {
|
||||
void lcd_outdezFloat(uint8_t x, uint8_t y, float val, uint8_t precis, uint8_t mode);
|
||||
#endif
|
||||
|
||||
#endif
|
||||
#endif // _MAVLINK_H_
|
||||
|
||||
|
||||
@@ -34,12 +34,12 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef nmea_h
|
||||
#define nmea_h
|
||||
#ifndef _NMEA_H_
|
||||
#define _NMEA_H_
|
||||
|
||||
void NMEA_Init(void);
|
||||
void NMEA_EnableRXD (void);
|
||||
void menuTelemetryNMEA(uint8_t event);
|
||||
|
||||
#endif
|
||||
#endif // _NMEA_H_
|
||||
|
||||
|
||||
@@ -34,8 +34,8 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef TELEMETRY_H
|
||||
#define TELEMETRY_H
|
||||
#ifndef _TELEMETRY_H_
|
||||
#define _TELEMETRY_H_
|
||||
|
||||
extern Fifo<512> telemetryFifo;
|
||||
|
||||
@@ -200,4 +200,4 @@ void frskyDSetDefault(int index, uint16_t id);
|
||||
#define IS_DISTANCE_UNIT(unit) ((unit) == UNIT_METERS || (unit) == UNIT_FEET)
|
||||
#define IS_SPEED_UNIT(unit) ((unit) >= UNIT_KTS && (unit) <= UNIT_MPH)
|
||||
|
||||
#endif
|
||||
#endif // _TELEMETRY_H_
|
||||
|
||||
Reference in New Issue
Block a user