Output link state in 'ethercat master'.

This commit is contained in:
Florian Pose
2009-04-17 12:55:55 +00:00
parent 515a66aa8e
commit b7e06d12f4
5 changed files with 5 additions and 1 deletions
+1
View File
@@ -107,6 +107,7 @@ void CommandMaster::execute(MasterDevice &m, const StringVector &args)
<< setw(2) << (unsigned int) data.devices[i].address[5] << " ("
<< (data.devices[i].attached ? "attached" : "waiting...")
<< ")" << endl << dec
<< " Link: " << (data.devices[i].link_state ? "UP" : "DOWN") << endl
<< " Tx count: " << data.devices[i].tx_count << endl
<< " Rx count: " << data.devices[i].rx_count;
}