mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 22:48:29 -04:00
3ae2186021
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
487 B
C
28 lines
487 B
C
/** @file
|
|
* @brief MAVLink comm protocol built from ardupilotmega.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 "ardupilotmega.h"
|
|
|
|
#endif // MAVLINK_H
|