diff --git a/tool/CommandPdos.cpp b/tool/CommandPdos.cpp index 2b5b5a6b..bbb8cdd5 100644 --- a/tool/CommandPdos.cpp +++ b/tool/CommandPdos.cpp @@ -295,9 +295,9 @@ void CommandPdos::etherlabConfig( cout << var.str() << ".pdo = [" << i << ", " << j << ", " << k << ", 0];" << endl; - cout << var.str() << ".pdo_data_type = " - << 1000 + (unsigned int) entry.bit_length - << ";" << endl << endl; + cout << var.str() << ".pdo_data_type = uint(" + << (unsigned int) entry.bit_length + << ");" << endl << endl; } } }