BetterSerial has txspace() now

git-svn-id: https://arducopter.googlecode.com/svn/trunk@3248 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
tridge60@gmail.com 2011-09-04 22:52:22 +00:00
parent 2e989fd101
commit 89f9fafb90
2 changed files with 5 additions and 5 deletions

View File

@ -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};

View File

@ -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 @@
#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;