src/pdo.c
changeset 688 514108c6e4c4
parent 670 e37511baf56b
child 712 d1ccff139c17
equal deleted inserted replaced
687:e23df9586397 688:514108c6e4c4
   408               case state5:     /* build and send requested PDO */
   408               case state5:     /* build and send requested PDO */
   409                 {
   409                 {
   410                   Message pdo;
   410                   Message pdo;
   411                   if (buildPDO (d, numPdo, &pdo))
   411                   if (buildPDO (d, numPdo, &pdo))
   412                     {
   412                     {
   413                       MSG_ERR (0x1948, " Couldn't build TPDO n�", numPdo);
   413                       MSG_ERR (0x1948, " Couldn't build TPDO number : ", numPdo);
   414                       return 0xFF;
   414                       return 0xFF;
   415                     }
   415                     }
   416                   canSend (d->canHandle, &pdo);
   416                   canSend (d->canHandle, &pdo);
   417                   return 0;
   417                   return 0;
   418                 }
   418                 }
   741               MSG_WAR (0x3970, "next pdo index : ", pdoNum);
   741               MSG_WAR (0x3970, "next pdo index : ", pdoNum);
   742               status = state3;
   742               status = state3;
   743               break;
   743               break;
   744 
   744 
   745             default:
   745             default:
   746               MSG_ERR (0x1972, "Unknown state has been reached : %d", status);
   746               MSG_ERR (0x1972, "Unknown state has been reached :", status);
   747               return 0xFF;
   747               return 0xFF;
   748             }                   /* end switch case */
   748             }                   /* end switch case */
   749 
   749 
   750         }                       /* end while */
   750         }                       /* end while */
   751     }
   751     }