APM:Libraries
Macros | Functions | Variables
Config.h File Reference
#include "eeprom.h"
#include "version.h"
#include "../osd_namespace.h"
Include dependency graph for Config.h:

Go to the source code of this file.

Macros

#define IS_PLANE   1
 
#define IS_COPTER   1
 
#define VER   79
 
#define VERSION   "2.4"
 
#define SLAVE_BUILD
 
#define HARDWARE_TYPE   2
 
#define STARTUP_SCREEN   0
 
#define FONT_UPLOAD   0
 
#define USE_SETUP   1
 
#define MAVLINK_CONFIG   1
 
#define MAVLINK_READ_EEPROM   1
 
#define MAVLINK_FONT_UPLOAD   1
 
#define MAVLINK_PARAMS   1
 
#define USE_MAVLINK   1
 
#define MAV_REQUEST   1
 
#define PROTOCOL   "MAVLink"
 
#define TELEMETRY_SPEED   57600
 
#define BOOTTIME   3700
 
#define LED_BLINK   {}
 
#define LED_ON   {}
 
#define LED_OFF   {}
 
#define OSD_MODEL   "builtin"
 
#define on   1
 
#define off   0
 
#define RC_NEUTRAL   1500
 
#define DBG_PRINTLN(x)   {}
 
#define DBG_PRINTVAR(x)   {}
 
#define DBG_PRINTVARLN(x)   {}
 
#define DBG_PRINTF(x, ...)   {}
 
#define MAVLINK_USE_CONVENIENCE_FUNCTIONS
 

Functions

void osd_queue (uint8_t c)
 

Variables

static const uint8_t chan =0
 

Macro Definition Documentation

◆ BOOTTIME

#define BOOTTIME   3700

Definition at line 38 of file Config.h.

◆ DBG_PRINTF

#define DBG_PRINTF (   x,
  ... 
)    {}

Definition at line 70 of file Config.h.

◆ DBG_PRINTLN

#define DBG_PRINTLN (   x)    {}

Definition at line 67 of file Config.h.

◆ DBG_PRINTVAR

#define DBG_PRINTVAR (   x)    {}

Definition at line 68 of file Config.h.

◆ DBG_PRINTVARLN

#define DBG_PRINTVARLN (   x)    {}

Definition at line 69 of file Config.h.

◆ FONT_UPLOAD

#define FONT_UPLOAD   0

Definition at line 23 of file Config.h.

◆ HARDWARE_TYPE

#define HARDWARE_TYPE   2

Definition at line 17 of file Config.h.

◆ IS_COPTER

#define IS_COPTER   1

Definition at line 4 of file Config.h.

◆ IS_PLANE

#define IS_PLANE   1

Definition at line 3 of file Config.h.

◆ LED_BLINK

#define LED_BLINK   {}

Definition at line 42 of file Config.h.

◆ LED_OFF

#define LED_OFF   {}

◆ LED_ON

#define LED_ON   {}

Definition at line 43 of file Config.h.

Referenced by VRBRAIN::VRBRAINGPIO::write(), and PX4::PX4GPIO::write().

◆ MAV_REQUEST

#define MAV_REQUEST   1

Definition at line 31 of file Config.h.

◆ MAVLINK_CONFIG

#define MAVLINK_CONFIG   1

Definition at line 25 of file Config.h.

◆ MAVLINK_FONT_UPLOAD

#define MAVLINK_FONT_UPLOAD   1

Definition at line 27 of file Config.h.

◆ MAVLINK_PARAMS

#define MAVLINK_PARAMS   1

Definition at line 28 of file Config.h.

◆ MAVLINK_READ_EEPROM

#define MAVLINK_READ_EEPROM   1

Definition at line 26 of file Config.h.

◆ MAVLINK_USE_CONVENIENCE_FUNCTIONS

#define MAVLINK_USE_CONVENIENCE_FUNCTIONS

Definition at line 77 of file Config.h.

◆ off

#define off   0

Definition at line 52 of file Config.h.

Referenced by compute_diff(), and AP_Follow::get_offsets_ned().

◆ on

#define on   1

◆ OSD_MODEL

#define OSD_MODEL   "builtin"

Definition at line 48 of file Config.h.

◆ PROTOCOL

#define PROTOCOL   "MAVLink"

Definition at line 32 of file Config.h.

◆ RC_NEUTRAL

#define RC_NEUTRAL   1500

Definition at line 55 of file Config.h.

◆ SLAVE_BUILD

#define SLAVE_BUILD

Definition at line 16 of file Config.h.

◆ STARTUP_SCREEN

#define STARTUP_SCREEN   0

Definition at line 19 of file Config.h.

◆ TELEMETRY_SPEED

#define TELEMETRY_SPEED   57600

Definition at line 35 of file Config.h.

Referenced by delay_telem().

◆ USE_MAVLINK

#define USE_MAVLINK   1

Definition at line 30 of file Config.h.

◆ USE_SETUP

#define USE_SETUP   1

Definition at line 24 of file Config.h.

◆ VER

#define VER   79

Definition at line 9 of file Config.h.

◆ VERSION

#define VERSION   "2.4"

Definition at line 12 of file Config.h.

Function Documentation

◆ osd_queue()

void osd_queue ( uint8_t  c)

Variable Documentation

◆ chan

const uint8_t chan =0
static

Definition at line 75 of file Config.h.