Using uint(x) as datatype in EtherLab Pdos output.

This commit is contained in:
Florian Pose
2025-06-27 10:16:04 +02:00
parent 5369698022
commit 3e9cc87717

View File

@@ -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;
}
}
}