Skip to content

Commit

Permalink
Fix Xcp_StartStopDaqList_Res()
Browse files Browse the repository at this point in the history
  • Loading branch information
christoph2 committed Oct 8, 2019
1 parent eae289b commit 074f0a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1589,7 +1589,7 @@ static void Xcp_StartStopDaqList_Res(Xcp_PDUType const * const pdu)
} else if (mode == UINT8(1)) {

} else if (mode == UINT8(2)) {
entry->mode = XCP_DAQ_LIST_MODE_SELECTED;
entry->mode |= XCP_DAQ_LIST_MODE_SELECTED;
} else {
Xcp_ErrorResponse(UINT8(ERR_OUT_OF_RANGE)); /* correct? */
return;
Expand Down

0 comments on commit 074f0a4

Please sign in to comment.