Fixed attached slave position in 'ethercat config' -> decimal.

This commit is contained in:
Florian Pose 2008-07-30 15:31:01 +00:00
parent 5e8c08f6cb
commit 23274507c7
1 changed files with 2 additions and 2 deletions

View File

@ -125,7 +125,7 @@ void CommandConfig::showDetailedConfigs(
if (configIter->slave_position != -1) {
m.getSlave(&slave, configIter->slave_position);
cout << configIter->slave_position
cout << dec << configIter->slave_position
<< " (" << alStateString(slave.al_state) << ")" << endl;
} else {
cout << "none" << endl;
@ -238,7 +238,7 @@ void CommandConfig::listConfigs(
if (configIter->slave_position != -1) {
m.getSlave(&slave, configIter->slave_position);
str << configIter->slave_position;
str << dec << configIter->slave_position;
info.slavePos = str.str();
str.clear();
str.str("");