添加MAVLINK协议库
This commit is contained in:
37
app/drivers/sertrf/protocol/mavlinkv2/standard/testsuite.h
Normal file
37
app/drivers/sertrf/protocol/mavlinkv2/standard/testsuite.h
Normal file
@@ -0,0 +1,37 @@
|
||||
/** @file
|
||||
* @brief MAVLink comm protocol testsuite generated from standard.xml
|
||||
* @see http://qgroundcontrol.org/mavlink/
|
||||
*/
|
||||
#pragma once
|
||||
#ifndef STANDARD_TESTSUITE_H
|
||||
#define STANDARD_TESTSUITE_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifndef MAVLINK_TEST_ALL
|
||||
#define MAVLINK_TEST_ALL
|
||||
static void mavlink_test_common(uint8_t, uint8_t, mavlink_message_t *last_msg);
|
||||
static void mavlink_test_standard(uint8_t, uint8_t, mavlink_message_t *last_msg);
|
||||
|
||||
static void mavlink_test_all(uint8_t system_id, uint8_t component_id, mavlink_message_t *last_msg)
|
||||
{
|
||||
mavlink_test_common(system_id, component_id, last_msg);
|
||||
mavlink_test_standard(system_id, component_id, last_msg);
|
||||
}
|
||||
#endif
|
||||
|
||||
#include "../common/testsuite.h"
|
||||
|
||||
|
||||
|
||||
static void mavlink_test_standard(uint8_t system_id, uint8_t component_id, mavlink_message_t *last_msg)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif // __cplusplus
|
||||
#endif // STANDARD_TESTSUITE_H
|
||||
Reference in New Issue
Block a user