tool/CommandSlaves.cpp
branchstable-1.4
changeset 1686 e206f4485f60
parent 1636 b26170e168d9
child 1337 0253c74d0940
equal deleted inserted replaced
1685:399ef727bf62 1686:e206f4485f60
   259                 << "  Order number: " << si->order << endl
   259                 << "  Order number: " << si->order << endl
   260                 << "  Device name: " << si->name << endl;
   260                 << "  Device name: " << si->name << endl;
   261 
   261 
   262             if (si->mailbox_protocols & EC_MBOX_COE) {
   262             if (si->mailbox_protocols & EC_MBOX_COE) {
   263                 cout << "  CoE details:" << endl
   263                 cout << "  CoE details:" << endl
   264                     << "    Enable Sdo: "
   264                     << "    Enable SDO: "
   265                     << (si->coe_details.enable_sdo ? "yes" : "no") << endl
   265                     << (si->coe_details.enable_sdo ? "yes" : "no") << endl
   266                     << "    Enable Sdo Info: "
   266                     << "    Enable SDO Info: "
   267                     << (si->coe_details.enable_sdo_info ? "yes" : "no") << endl
   267                     << (si->coe_details.enable_sdo_info ? "yes" : "no") << endl
   268                     << "    Enable Pdo Assign: "
   268                     << "    Enable PDO Assign: "
   269                     << (si->coe_details.enable_pdo_assign
   269                     << (si->coe_details.enable_pdo_assign
   270                             ? "yes" : "no") << endl
   270                             ? "yes" : "no") << endl
   271                     << "    Enable Pdo Configuration: "
   271                     << "    Enable PDO Configuration: "
   272                     << (si->coe_details.enable_pdo_configuration
   272                     << (si->coe_details.enable_pdo_configuration
   273                             ? "yes" : "no") << endl
   273                             ? "yes" : "no") << endl
   274                     << "    Enable Upload at startup: "
   274                     << "    Enable Upload at startup: "
   275                     << (si->coe_details.enable_upload_at_startup
   275                     << (si->coe_details.enable_upload_at_startup
   276                             ? "yes" : "no") << endl
   276                             ? "yes" : "no") << endl
   277                     << "    Enable Sdo complete access: "
   277                     << "    Enable SDO complete access: "
   278                     << (si->coe_details.enable_sdo_complete_access
   278                     << (si->coe_details.enable_sdo_complete_access
   279                             ? "yes" : "no") << endl;
   279                             ? "yes" : "no") << endl;
   280             }
   280             }
   281 
   281 
   282             cout << "  Flags:" << endl
   282             cout << "  Flags:" << endl