tools/Master.cpp
changeset 1057 435d7f36f13d
parent 1055 2be8918682fa
child 1062 75a2b2934e2b
equal deleted inserted replaced
1056:7b656881e771 1057:435d7f36f13d
   196             << "Position: " << dec << config.position << endl
   196             << "Position: " << dec << config.position << endl
   197             << "Vendor Id: 0x"
   197             << "Vendor Id: 0x"
   198             << hex << setw(8) << config.vendor_id << endl
   198             << hex << setw(8) << config.vendor_id << endl
   199             << "Product code: 0x"
   199             << "Product code: 0x"
   200             << hex << setw(8) << config.product_code << endl
   200             << hex << setw(8) << config.product_code << endl
   201             << "Attached: " << (config.attached ? "yes" : "no") << endl;
   201             << "Attached: " << (config.attached ? "yes" : "no") << endl
       
   202             << "Operational: " << (config.operational ? "yes" : "no") << endl;
   202 
   203 
   203         for (j = 0; j < 16; j++) {
   204         for (j = 0; j < 16; j++) {
   204             if (config.syncs[j].pdo_count) {
   205             if (config.syncs[j].pdo_count) {
   205                 cout << "SM" << dec << j << " ("
   206                 cout << "SM" << dec << j << " ("
   206                     << (config.syncs[j].dir == EC_DIR_INPUT
   207                     << (config.syncs[j].dir == EC_DIR_INPUT