tools/Master.cpp
changeset 1082 ff06c58e269c
parent 1079 ef1266652c4d
child 1099 eb8d16507d88
equal deleted inserted replaced
1081:66c60b99c2e8 1082:ff06c58e269c
   999             << "Product code: 0x"
   999             << "Product code: 0x"
  1000             << setw(8) << config.product_code << endl
  1000             << setw(8) << config.product_code << endl
  1001             << "Attached: " << (config.attached ? "yes" : "no") << endl
  1001             << "Attached: " << (config.attached ? "yes" : "no") << endl
  1002             << "Operational: " << (config.operational ? "yes" : "no") << endl;
  1002             << "Operational: " << (config.operational ? "yes" : "no") << endl;
  1003 
  1003 
  1004         for (j = 0; j < 16; j++) {
  1004         for (j = 0; j < EC_MAX_SYNC_MANAGERS; j++) {
  1005             if (config.syncs[j].pdo_count) {
  1005             if (config.syncs[j].pdo_count) {
  1006                 cout << "SM" << dec << j << " ("
  1006                 cout << "SM" << dec << j << " ("
  1007                     << (config.syncs[j].dir == EC_DIR_INPUT
  1007                     << (config.syncs[j].dir == EC_DIR_INPUT
  1008                             ? "Input" : "Output") << ")" << endl;
  1008                             ? "Input" : "Output") << ")" << endl;
  1009                 for (k = 0; k < config.syncs[j].pdo_count; k++) {
  1009                 for (k = 0; k < config.syncs[j].pdo_count; k++) {