Wrong initilization Initilization does not work inside the current function.
Correction of missing initialization of pNewFrame after closing TRDP.
Modified file : trdp_pdcom.c function : trdp_pdReceive()
301 lines of below is added to the eye PD_PACKET_T *pNewFrame = NULL
324 lines of below is added to the eye static PD_PACKET_T *pNewFrame = NULL
pNewFrame must move into session queue, can be deallocated on session close
buffer to receibe PD moved from trdp_pdReceive() to TRDP_SESSION_T
Log in to post a comment.
Modified
file : trdp_pdcom.c
function : trdp_pdReceive()
301 lines of below is added to the eye
PD_PACKET_T *pNewFrame = NULL
324 lines of below is added to the eye
static PD_PACKET_T *pNewFrame = NULL
Last edit: Kazumasa Aiba 2015-03-11
Modified
file : trdp_pdcom.c
function : trdp_pdReceive()
301 lines of below is added to the eye
PD_PACKET_T *pNewFrame = NULL
324 lines of below is added to the eye
static PD_PACKET_T *pNewFrame = NULL
pNewFrame must move into session queue, can be deallocated on session close
buffer to receibe PD moved from trdp_pdReceive() to TRDP_SESSION_T