mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 02:18:29 -04:00
GCS_MAVLink: re-generate headers (updated stdint.h usage)
This commit is contained in:
parent
e9f87a2626
commit
4aa8a012de
@ -5,7 +5,7 @@
|
||||
#ifndef MAVLINK_VERSION_H
|
||||
#define MAVLINK_VERSION_H
|
||||
|
||||
#define MAVLINK_BUILD_DATE "Thu Feb 12 08:58:26 2015"
|
||||
#define MAVLINK_BUILD_DATE "Thu Feb 12 09:12:16 2015"
|
||||
#define MAVLINK_WIRE_PROTOCOL_VERSION "1.0"
|
||||
#define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
#ifndef MAVLINK_VERSION_H
|
||||
#define MAVLINK_VERSION_H
|
||||
|
||||
#define MAVLINK_BUILD_DATE "Thu Feb 12 08:58:30 2015"
|
||||
#define MAVLINK_BUILD_DATE "Thu Feb 12 09:12:20 2015"
|
||||
#define MAVLINK_WIRE_PROTOCOL_VERSION "1.0"
|
||||
#define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255
|
||||
|
||||
|
@ -226,7 +226,7 @@ MAVLINK_HELPER void mavlink_update_checksum(mavlink_message_t* msg, uint8_t c)
|
||||
* A typical use scenario of this function call is:
|
||||
*
|
||||
* @code
|
||||
* #include <inttypes.h> // For fixed-width uint8_t type
|
||||
* #include <mavlink.h>
|
||||
*
|
||||
* mavlink_message_t msg;
|
||||
* int chan = 0;
|
||||
|
@ -1,13 +1,13 @@
|
||||
#ifndef MAVLINK_TYPES_H_
|
||||
#define MAVLINK_TYPES_H_
|
||||
|
||||
// Visual Studio versions before 2013 don't conform to C99.
|
||||
#if (defined _MSC_VER) && (_MSC_VER < 1800)
|
||||
#include <stdint.h>
|
||||
#else
|
||||
#include <inttypes.h>
|
||||
// Visual Studio versions before 2010 don't have stdint.h, so we just error out.
|
||||
#if (defined _MSC_VER) && (_MSC_VER < 1600)
|
||||
#error "The C-MAVLink implementation requires Visual Studio 2010 or greater"
|
||||
#endif
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
// Macro to define packed structures
|
||||
#ifdef __GNUC__
|
||||
#define MAVPACKED( __Declaration__ ) __Declaration__ __attribute__((packed))
|
||||
|
Loading…
Reference in New Issue
Block a user