mathiasvr / bluejay

:bird: Digital ESC firmware for controlling brushless motors in multirotors
GNU General Public License v3.0
479 stars 50 forks source link

Refactoring targets #13

Closed stylesuxx closed 3 years ago

stylesuxx commented 3 years ago

I have been looking at the targets today and I have the feeling that some refactoring could be done here easily. I suggest the following things:

I am fully aware that coding style is totally subjective and I have no hard feelings if this gets rejected. But since we are not trying to put the source code on a diskette, I am all for improving readability - a couple of blank lines do help a lot ;-)

I would build all the hex files pre refactoring and binary compare them after re-factoring to make sure the styling changes did not break anything else.

https://github.com/stylesuxx/bluejay/tree/formatting

stylesuxx commented 3 years ago

Closing, since this is basically in progress in #9