Skip to content

Commit

Permalink
XcpDaq_Free() requires dynamic DAQ lists
Browse files Browse the repository at this point in the history
  • Loading branch information
christoph2 committed Oct 12, 2020
1 parent 0ffdfe9 commit 561eb12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xcp_daq.c
Original file line number Diff line number Diff line change
Expand Up @@ -271,9 +271,9 @@ void XcpDaq_Init(void)

#if XCP_DAQ_ENABLE_DYNAMIC_LISTS == XCP_ON
XcpDaq_AllocState = XCP_ALLOC_IDLE;
(void)XcpDaq_Free();
#endif /* XCP_DAQ_ENABLE_DYNAMIC_LISTS */

(void)XcpDaq_Free();
XcpDaq_InitMessageQueue();
}

Expand Down

0 comments on commit 561eb12

Please sign in to comment.