diff --git a/template/hal_rec_wrapper.c b/template/hal_rec_wrapper.c index c35c935..44a1448 100644 --- a/template/hal_rec_wrapper.c +++ b/template/hal_rec_wrapper.c @@ -13,7 +13,9 @@ /* %%%-SFUNWIZ_wrapper_includes_Changes_BEGIN --- EDIT HERE TO _END */ - +#ifdef HAL_IMPL +#include "param_pre.h" +#endif /* %%%-SFUNWIZ_wrapper_includes_Changes_END --- EDIT HERE TO _BEGIN */ #define u_width 1 @@ -42,7 +44,7 @@ static void pack(uint8_T *pkg, uint16_T *len, const int_T y_width, uint8_T *ts, sum += src[i]; } pkg[j] = sum; - len[0] = length+5; + len[0] = length+4; } /* %%%-SFUNWIZ_wrapper_externs_Changes_END --- EDIT HERE TO _BEGIN */