Browse Source

BetterSerial has txspace() now

git-svn-id: https://arducopter.googlecode.com/svn/trunk@3248 f9c3cf11-9bcb-44bc-f272-b75c42450872
master
tridge60@gmail.com 14 years ago
parent
commit
89f9fafb90
  1. 4
      libraries/GCS_MAVLink/GCS_MAVLink.cpp
  2. 6
      libraries/GCS_MAVLink/GCS_MAVLink.h

4
libraries/GCS_MAVLink/GCS_MAVLink.cpp

@ -5,8 +5,8 @@ @@ -5,8 +5,8 @@
#include "GCS_MAVLink.h"
FastSerial *mavlink_comm_0_port;
FastSerial *mavlink_comm_1_port;
BetterStream *mavlink_comm_0_port;
BetterStream *mavlink_comm_1_port;
// this might need to move to the flight software
mavlink_system_t mavlink_system = {7,1,0,0};

6
libraries/GCS_MAVLink/GCS_MAVLink.h

@ -6,7 +6,7 @@ @@ -6,7 +6,7 @@
#ifndef GCS_MAVLink_h
#define GCS_MAVLink_h
#include <FastSerial.h>
#include <BetterStream.h>
#include "include/ardupilotmega/version.h"
@ -17,10 +17,10 @@ @@ -17,10 +17,10 @@
#include "include/mavlink_types.h"
/// MAVLink stream used for HIL interaction
extern FastSerial *mavlink_comm_0_port;
extern BetterStream *mavlink_comm_0_port;
/// MAVLink stream used for ground control communication
extern FastSerial *mavlink_comm_1_port;
extern BetterStream *mavlink_comm_1_port;
/// MAVLink system definition
extern mavlink_system_t mavlink_system;

Loading…
Cancel
Save