ardupilot
ardupilot copied to clipboard
DevEnv: add-brackets in astylerc set to true
As per the style guide https://ardupilot.org/dev/docs/style-guide.html , control statements (if, while, do, else) should always use braces around the statements. This can be implemented by setting add-brackets option to true.
Isn't that implicit?
I mean, if not, the line above would seem to suffer the same problem.
No answer from @Rohan-Dah . Please re-open if you want to pursue