# HG changeset patch # User Florian Pose # Date 1245057898 0 # Node ID 013a4e42a9fb3d4baeca9da67366f582f40c905f # Parent 362147819ca1ffd8ccd949e875f5969b35ed63dc Minor fix in 'ethercat config' output. diff -r 362147819ca1 -r 013a4e42a9fb tool/CommandConfig.cpp --- 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,