Skip to content
Snippets Groups Projects
Commit 933afdd0 authored by Jens Georg's avatar Jens Georg
Browse files

Add std::uppercase filter for error packets

parent 5efb586d
No related branches found
No related tags found
No related merge requests found
......@@ -147,7 +147,7 @@ std::string TecDummy::processFrame(const std::string& command) {
result = "!" + parsedFrame[TecFramePart::ADDRESS] + parsedFrame[TecFramePart::SEQUENCE];
result += "+"; // marks the error
std::stringstream ss;
ss << std::hex << std::setw(2) << std::setfill('0') << static_cast<int>(errorFlags[parameterId]);
ss << std::hex << std::setw(2) << std::setfill('0') << std::uppercase << static_cast<int>(errorFlags[parameterId]);
result += ss.str();
result += getCrc(result);
}
......
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