Added Mandatory attribute for XML Pdo elements.
This commit is contained in:
parent
d8d0e4ec4e
commit
67d4be0cdd
|
|
@ -1717,7 +1717,7 @@ void Master::generateSlaveXml(uint16_t slavePosition)
|
||||||
|
|
||||||
cout
|
cout
|
||||||
<< " <" << pdoType
|
<< " <" << pdoType
|
||||||
<< " Sm=\"" << i << "\" Fixed=\"1\">" << endl
|
<< " Sm=\"" << i << "\" Fixed=\"1\" Mandatory=\"1\">" << endl
|
||||||
<< " <Index>#x"
|
<< " <Index>#x"
|
||||||
<< hex << setfill('0') << setw(4) << pdo.index
|
<< hex << setfill('0') << setw(4) << pdo.index
|
||||||
<< "</Index>" << endl
|
<< "</Index>" << endl
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue