mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-09 09:28:31 -04:00
BetterSerial has txspace() now
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3248 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
parent
2e989fd101
commit
89f9fafb90
@ -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,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;
|
||||
|
Loading…
Reference in New Issue
Block a user