src/pdo.c
changeset 426 8011552b1319
parent 425 4bc4706528ae
child 428 25b06f59f123
equal deleted inserted replaced
425:4bc4706528ae 426:8011552b1319
   604                     }
   604                     }
   605                   status = state11;
   605                   status = state11;
   606                   break;
   606                   break;
   607                   /* If transmission on Event and not inhibited, check for changes */
   607                   /* If transmission on Event and not inhibited, check for changes */
   608                 }
   608                 }
   609               else if ((*pTransmissionType == TRANS_EVENT_PROFILE ||
   609               else
   610                         *pTransmissionType == TRANS_EVENT_SPECIFIC) &&
   610                 if ((isSyncEvent
   611                        !(d->PDO_status[pdoNum].
   611                      && (*pTransmissionType == TRANS_SYNC_ACYCLIC))
   612                          transmit_type_parameter & PDO_INHIBITED))
   612                     ||
       
   613                     ((*pTransmissionType == TRANS_EVENT_PROFILE
       
   614                       || *pTransmissionType == TRANS_EVENT_SPECIFIC)
       
   615                      && !(d->PDO_status[pdoNum].
       
   616                           transmit_type_parameter & PDO_INHIBITED)))
   613                 {
   617                 {
   614                   MSG_WAR (0x3968, "  PDO is on EVENT. Trans type : ",
   618                   MSG_WAR (0x3968, "  PDO is on EVENT. Trans type : ",
   615                            *pTransmissionType);
   619                            *pTransmissionType);
   616                   {
   620                   {
   617                     Message msg_init = Message_Initializer;
   621                     Message msg_init = Message_Initializer;