3 #define IS_PLANE 1 // plane functions 4 #define IS_COPTER 1 // copter functions 16 #define SLAVE_BUILD // not separate device 17 #define HARDWARE_TYPE 2 19 #define STARTUP_SCREEN 0 23 #define FONT_UPLOAD 0 // no way 25 #define MAVLINK_CONFIG 1 26 #define MAVLINK_READ_EEPROM 1 27 #define MAVLINK_FONT_UPLOAD 1 28 #define MAVLINK_PARAMS 1 32 #define PROTOCOL "MAVLink" 35 #define TELEMETRY_SPEED 57600 // initial speed of Serial port for CT 38 #define BOOTTIME 3700 // Time in milliseconds that we show boot loading bar and wait user input 48 #define OSD_MODEL "builtin" 55 #define RC_NEUTRAL 1500 // PWM pulse width for center stick 62 #define DBG_PRINTLN(x) { console.print_P(PSTR(x)); Serial.println(); Serial.wait(); } 63 #define DBG_PRINTVARLN(x) { console.print_P(PSTR(#x)); Serial.print_P(PSTR(": ")); Serial.println(x); Serial.wait(); } 64 #define DBG_PRINTVAR(x) { console.print_P(PSTR(#x)); Serial.print_P(PSTR(": ")); Serial.print(x); Serial.print(" "); Serial.wait(); } 65 #define DBG_PRINTF(x,...) { console.printf_P(PSTR(x),## __VA_ARGS__); Serial.wait(); } 67 #define DBG_PRINTLN(x) {} 68 #define DBG_PRINTVAR(x) {} 69 #define DBG_PRINTVARLN(x) {} 70 #define DBG_PRINTF(x,...) {} 75 static const uint8_t
chan=0;
77 #define MAVLINK_USE_CONVENIENCE_FUNCTIONS 79 #include "../osd_namespace.h" 80 using namespace OSDns;
void osd_queue(uint8_t c)
static const uint8_t chan