Using uint(x) as datatype in EtherLab Pdos output.
This commit is contained in:
parent
5369698022
commit
3e9cc87717
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue