author | Florian Pose <fp@igh-essen.com> |
Mon, 15 Jun 2009 09:24:58 +0000 | |
changeset 1467 | 013a4e42a9fb |
parent 1466 | 362147819ca1 |
child 1468 | 0a804ddbaf93 |
--- a/tool/CommandConfig.cpp Fri May 15 09:06:28 2009 +0000 +++ b/tool/CommandConfig.cpp Mon Jun 15 09:24:58 2009 +0000 @@ -167,7 +167,8 @@ for (k = 0; k < configIter->syncs[j].pdo_count; k++) { m.getConfigPdo(&pdo, configIter->config_index, j, k); - cout << " PDO 0x" << hex << setw(4) << pdo.index << endl; + cout << " PDO 0x" << hex << setfill('0') + << setw(4) << pdo.index << endl; for (l = 0; l < pdo.entry_count; l++) { m.getConfigPdoEntry(&entry,