Commit a781aa7c authored by pixhawk's avatar pixhawk

Updated commit style to be C89 compiliant

parent c48c8520
......@@ -255,7 +255,7 @@ bool MAVLinkXMLParser::generate()
QString fieldComment;
if (e2.text().length() > 0)
{
fieldComment = " // " + e2.text();
fieldComment = " /* " + e2.text() + "*/";
}
currEnum += "\t" + fieldName.toUpper() + "=" + fieldValue + "," + fieldComment + "\n";
}
......@@ -271,7 +271,7 @@ bool MAVLinkXMLParser::generate()
int commaPosition = currEnum.lastIndexOf(",");
currEnum.remove(commaPosition, 1);
enums += "/** " + comment + " */\n" + currEnum + currEnumEnd;
enums += "/** @brief " + comment + " */\n" + currEnum + currEnumEnd;
} // Element is non-zero and element name is <enum>
n = n.nextSibling();
} // While through <enums>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment