Output Sdo configuration header even if no Sdos were configured.

This commit is contained in:
Florian Pose 2008-07-17 12:25:02 +00:00
parent 21216c40d8
commit fb517d9495
1 changed files with 3 additions and 1 deletions

View File

@ -1139,8 +1139,8 @@ void Master::showDetailedConfigs(const ConfigList &configList)
}
}
cout << "Sdo configuration:" << endl;
if (configIter->sdo_count) {
cout << "Sdo configuration:" << endl;
for (j = 0; j < configIter->sdo_count; j++) {
getConfigSdo(&sdo, configIter->config_index, j);
@ -1169,6 +1169,8 @@ void Master::showDetailedConfigs(const ConfigList &configList)
cout << endl;
}
} else {
cout << " None." << endl;
}
cout << endl;