Skip to content
Snippets Groups Projects
Commit aa76ae64 authored by Florian Pose's avatar Florian Pose
Browse files

Output hex values in ethercat xml.

parent 01c0f267
No related branches found
No related tags found
No related merge requests found
......@@ -31,7 +31,6 @@ Version 1.5.0:
- Implement ranges for slaves and domains.
- Add -x switch for hex display.
- Implement CompleteAccess
- Output hexadecimal values in xml command.
- Implement --output-file argument in foe_read.
- Fix arguments of reg_read.
- Number layout for reg_read.
......
......@@ -143,9 +143,9 @@ void CommandXml::generateSlaveXml(
cout
<< in << " <Sm Enable=\"" << dec << (unsigned int) sync.enable
<< "\" StartAddress=\"" << sync.physical_start_address
<< "\" ControlByte=\"" << (unsigned int) sync.control_register
<< "\" DefaultSize=\"" << sync.default_size
<< "\" StartAddress=\"#x" << hex << sync.physical_start_address
<< "\" ControlByte=\"#x" << hex << (unsigned int) sync.control_register
<< "\" DefaultSize=\"" << dec << sync.default_size
<< "\" />" << endl;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment