You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

69 lines
1.4 KiB

​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. /** @file
  2. * @brief MAVLink comm protocol generated from test.xml
  3. * @see http://mavlink.org
  4. */
  5. #pragma once
  6. #ifndef MAVLINK_TEST_H
  7. #define MAVLINK_TEST_H
  8. #ifndef MAVLINK_H
  9. #error Wrong include order: MAVLINK_TEST.H MUST NOT BE DIRECTLY USED. Include mavlink.h from the same directory instead or set ALL AND EVERY defines from MAVLINK.H manually accordingly, including the #define MAVLINK_H call.
  10. #endif
  11. #undef MAVLINK_THIS_XML_IDX
  12. #define MAVLINK_THIS_XML_IDX 0
  13. #ifdef __cplusplus
  14. extern "C" {
  15. #endif
  16. // MESSAGE LENGTHS AND CRCS
  17. #ifndef MAVLINK_MESSAGE_LENGTHS
  18. #define MAVLINK_MESSAGE_LENGTHS {}
  19. #endif
  20. #ifndef MAVLINK_MESSAGE_CRCS
  21. #define MAVLINK_MESSAGE_CRCS {{0, 103, 179, 179, 0, 0, 0}}
  22. #endif
  23. #include "../protocol.h"
  24. #define MAVLINK_ENABLED_TEST
  25. // ENUM DEFINITIONS
  26. // MAVLINK VERSION
  27. #ifndef MAVLINK_VERSION
  28. #define MAVLINK_VERSION 3
  29. #endif
  30. #if (MAVLINK_VERSION == 0)
  31. #undef MAVLINK_VERSION
  32. #define MAVLINK_VERSION 3
  33. #endif
  34. // MESSAGE DEFINITIONS
  35. #include "./mavlink_msg_test_types.h"
  36. // base include
  37. #undef MAVLINK_THIS_XML_IDX
  38. #define MAVLINK_THIS_XML_IDX 0
  39. #if MAVLINK_THIS_XML_IDX == MAVLINK_PRIMARY_XML_IDX
  40. # define MAVLINK_MESSAGE_INFO {MAVLINK_MESSAGE_INFO_TEST_TYPES}
  41. # define MAVLINK_MESSAGE_NAMES {{ "TEST_TYPES", 0 }}
  42. # if MAVLINK_COMMAND_24BIT
  43. # include "../mavlink_get_info.h"
  44. # endif
  45. #endif
  46. #ifdef __cplusplus
  47. }
  48. #endif // __cplusplus
  49. #endif // MAVLINK_TEST_H