GCS_MAVLink: re-generate headers (updated stdint.h usage)

This commit is contained in:
Andrew Tridgell 2015-02-12 09:13:17 +11:00
parent e9f87a2626
commit 4aa8a012de
4 changed files with 8 additions and 8 deletions

View File

@ -5,7 +5,7 @@
#ifndef MAVLINK_VERSION_H #ifndef MAVLINK_VERSION_H
#define 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_WIRE_PROTOCOL_VERSION "1.0"
#define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255 #define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255

View File

@ -5,7 +5,7 @@
#ifndef MAVLINK_VERSION_H #ifndef MAVLINK_VERSION_H
#define 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_WIRE_PROTOCOL_VERSION "1.0"
#define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255 #define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255

View File

@ -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: * A typical use scenario of this function call is:
* *
* @code * @code
* #include <inttypes.h> // For fixed-width uint8_t type * #include <mavlink.h>
* *
* mavlink_message_t msg; * mavlink_message_t msg;
* int chan = 0; * int chan = 0;

View File

@ -1,13 +1,13 @@
#ifndef MAVLINK_TYPES_H_ #ifndef MAVLINK_TYPES_H_
#define MAVLINK_TYPES_H_ #define MAVLINK_TYPES_H_
// Visual Studio versions before 2013 don't conform to C99. // Visual Studio versions before 2010 don't have stdint.h, so we just error out.
#if (defined _MSC_VER) && (_MSC_VER < 1800) #if (defined _MSC_VER) && (_MSC_VER < 1600)
#include <stdint.h> #error "The C-MAVLink implementation requires Visual Studio 2010 or greater"
#else
#include <inttypes.h>
#endif #endif
#include <stdint.h>
// Macro to define packed structures // Macro to define packed structures
#ifdef __GNUC__ #ifdef __GNUC__
#define MAVPACKED( __Declaration__ ) __Declaration__ __attribute__((packed)) #define MAVPACKED( __Declaration__ ) __Declaration__ __attribute__((packed))