mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
ca8141cfb6
this new implementation reduces code size, and also reduces stack usage, while avoiding the gcc union stack bug Note that we will gain even more when we move to the new protocol version, especially in terms of code size git-svn-id: https://arducopter.googlecode.com/svn/trunk@3200 f9c3cf11-9bcb-44bc-f272-b75c42450872
28 lines
473 B
C
28 lines
473 B
C
/** @file
|
|
* @brief MAVLink comm protocol built from common.xml
|
|
* @see http://pixhawk.ethz.ch/software/mavlink
|
|
*/
|
|
#ifndef MAVLINK_H
|
|
#define MAVLINK_H
|
|
|
|
#ifndef MAVLINK_STX
|
|
#define MAVLINK_STX 85
|
|
#endif
|
|
|
|
#ifndef MAVLINK_ENDIAN
|
|
#define MAVLINK_ENDIAN MAVLINK_BIG_ENDIAN
|
|
#endif
|
|
|
|
#ifndef MAVLINK_ALIGNED_FIELDS
|
|
#define MAVLINK_ALIGNED_FIELDS 0
|
|
#endif
|
|
|
|
#ifndef MAVLINK_CRC_EXTRA
|
|
#define MAVLINK_CRC_EXTRA 0
|
|
#endif
|
|
|
|
#include "version.h"
|
|
#include "common.h"
|
|
|
|
#endif // MAVLINK_H
|