CO_SDOclient: static analysis: conditional of #if does not evaluate to 0 or 1 [MISRA 2012 Rule 20.8, required]
This commit is contained in:
parent
be69c270c3
commit
56466169cb
1 changed files with 1 additions and 1 deletions
|
|
@ -1245,7 +1245,7 @@ CO_SDO_return_t CO_SDOclientUpload(CO_SDOclient_t *SDO_C,
|
|||
else if (SDO_C->state == CO_SDO_ST_IDLE) {
|
||||
ret = CO_SDO_RT_ok_communicationEnd;
|
||||
}
|
||||
#if ((CO_CONFIG_SDO_CLI) & CO_CONFIG_SDO_CLI_LOCAL)
|
||||
#if ((CO_CONFIG_SDO_CLI) & CO_CONFIG_SDO_CLI_LOCAL) != 0
|
||||
/* Transfer data locally **************************************************/
|
||||
else if ((SDO_C->state == CO_SDO_ST_UPLOAD_LOCAL_TRANSFER) && !send_abort) {
|
||||
/* search object dictionary in first pass */
|
||||
|
|
|
|||
Loading…
Reference in a new issue