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 = ["
|
cout << var.str() << ".pdo = ["
|
||||||
<< i << ", " << j << ", " << k << ", 0];" << endl;
|
<< i << ", " << j << ", " << k << ", 0];" << endl;
|
||||||
cout << var.str() << ".pdo_data_type = "
|
cout << var.str() << ".pdo_data_type = uint("
|
||||||
<< 1000 + (unsigned int) entry.bit_length
|
<< (unsigned int) entry.bit_length
|
||||||
<< ";" << endl << endl;
|
<< ");" << endl << endl;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue