mirror of
https://gitlab.com/etherlab.org/ethercat.git
synced 2026-08-20 21:51:25 +08:00
Added Mandatory attribute for XML Pdo elements.
This commit is contained in:
+1
-1
@@ -1717,7 +1717,7 @@ void Master::generateSlaveXml(uint16_t slavePosition)
|
||||
|
||||
cout
|
||||
<< " <" << pdoType
|
||||
<< " Sm=\"" << i << "\" Fixed=\"1\">" << endl
|
||||
<< " Sm=\"" << i << "\" Fixed=\"1\" Mandatory=\"1\">" << endl
|
||||
<< " <Index>#x"
|
||||
<< hex << setfill('0') << setw(4) << pdo.index
|
||||
<< "</Index>" << endl
|
||||
|
||||
Reference in New Issue
Block a user