Files
sil/SIL/otherFiles/mav_parser_wrapper.c
T

48 lines
1.0 KiB
C
Raw Normal View History

2020-09-30 11:44:05 +08:00
/*
* Include Files
*
*/
#if defined(MATLAB_MEX_FILE)
#include "tmwtypes.h"
#include "simstruc_types.h"
#else
#include "rtwtypes.h"
#endif
#include "mav_stat_def.h"
/* %%%-SFUNWIZ_wrapper_includes_Changes_BEGIN --- EDIT HERE TO _END */
/* %%%-SFUNWIZ_wrapper_includes_Changes_END --- EDIT HERE TO _BEGIN */
#define u_width 1
#define y_width 1
/*
* Create external references here.
*
*/
/* %%%-SFUNWIZ_wrapper_externs_Changes_BEGIN --- EDIT HERE TO _END */
#ifdef MAVLINK_USE_MESSAGE_INFO
mavlink_status_t m_mavlink_status[MAVLINK_COMM_NUM_BUFFERS];
#endif
/* %%%-SFUNWIZ_wrapper_externs_Changes_END --- EDIT HERE TO _BEGIN */
/*
* Output function
*
*/
void mav_parser_Outputs_wrapper(const uint8_T *chr,
boolean_T *retcode,
mavlink_message_t *message,
mavlink_status_t *status,
const uint8_T *ch, const int_T p_width0)
{
/* %%%-SFUNWIZ_wrapper_Outputs_Changes_BEGIN --- EDIT HERE TO _END */
retcode[0] = mavlink_parse_char(ch[0],chr[0],message,status);
/* %%%-SFUNWIZ_wrapper_Outputs_Changes_END --- EDIT HERE TO _BEGIN */
}