mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-30 05:10:35 +08:00
enable px4 flight for excelsior(legacy)
This commit is contained in:
committed by
Lorenz Meier
parent
12767c8538
commit
b693e29d64
@@ -377,7 +377,7 @@ private:
|
||||
|
||||
unsigned _write_err_count = 0;
|
||||
static const unsigned write_err_threshold = 5;
|
||||
#ifndef __PX4_POSIX_EAGLE
|
||||
#if !defined(__PX4_POSIX_EAGLE) && !defined(__PX4_POSIX_EXCELSIOR)
|
||||
FILE *_fp = nullptr;
|
||||
#endif
|
||||
|
||||
@@ -387,7 +387,7 @@ protected:
|
||||
|
||||
~MavlinkStreamStatustext()
|
||||
{
|
||||
#ifndef __PX4_POSIX_EAGLE
|
||||
#if !defined(__PX4_POSIX_EAGLE) && !defined(__PX4_POSIX_EXCELSIOR)
|
||||
|
||||
if (_fp != nullptr) {
|
||||
fclose(_fp);
|
||||
@@ -413,7 +413,7 @@ protected:
|
||||
mavlink_msg_statustext_send_struct(_mavlink->get_channel(), &msg);
|
||||
|
||||
// TODO: the logging doesn't work on Snapdragon yet because of file paths.
|
||||
#ifndef __PX4_POSIX_EAGLE
|
||||
#if !defined(__PX4_POSIX_EAGLE) && !defined(__PX4_POSIX_EXCELSIOR)
|
||||
/* write log messages in first instance to disk
|
||||
* timestamp each message with gps time
|
||||
*/
|
||||
|
||||
@@ -170,7 +170,7 @@ MavlinkOrbSubscription::is_published()
|
||||
// We are checking now
|
||||
_last_pub_check = now;
|
||||
|
||||
#if defined(__PX4_QURT) || defined(__PX4_POSIX_EAGLE)
|
||||
#if defined(__PX4_QURT) || defined(__PX4_POSIX_EAGLE) || defined(__PX4_POSIX_EXCELSIOR)
|
||||
|
||||
// Snapdragon has currently no support for orb_exists, therefore
|
||||
// we're not using it.
|
||||
|
||||
Reference in New Issue
Block a user