tool/CommandSdos.cpp
branchstable-1.5
changeset 2421 bc2d4bf9cbe5
parent 1968 4f682084c643
child 2694 ab97efc5513a
equal deleted inserted replaced
2420:69056c46aa4d 2421:bc2d4bf9cbe5
   126 {
   126 {
   127     ec_ioctl_slave_sdo_t sdo;
   127     ec_ioctl_slave_sdo_t sdo;
   128     ec_ioctl_slave_sdo_entry_t entry;
   128     ec_ioctl_slave_sdo_entry_t entry;
   129     unsigned int i, j;
   129     unsigned int i, j;
   130     const DataType *d;
   130     const DataType *d;
   131     
   131 
   132     if (showHeader && slave.sdo_count)
   132     if (showHeader && slave.sdo_count)
   133         cout << "=== Master " << m.getIndex()
   133         cout << "=== Master " << m.getIndex()
   134             << ", Slave " << slave.position << " ===" << endl;
   134             << ", Slave " << slave.position << " ===" << endl;
   135 
   135 
   136     for (i = 0; i < slave.sdo_count; i++) {
   136     for (i = 0; i < slave.sdo_count; i++) {