itsmejithu / arducopter

Automatically exported from code.google.com/p/arducopter
0 stars 0 forks source link

Check log bitmask inside log functions #439

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
There's no reason to check the log bitmask before calling a log function. 
Moving the bitmask check inside the functions instead will make the code more 
robust to changes, and more readable. I have fixed this and some code reuse in 
Log.pde, the code is available on the branch optimizeCode at 
https://code.google.com/r/lundbergemil-arducoopter/ which is a clone of 
ardupilot-mega. You should be able to fetch it right into your own git 
repositories, and merge it into the project if it looks good. Feel free to 
contact me by e-mail if you like.

Original issue reported on code.google.com by lundberg...@gmail.com on 6 Jul 2012 at 2:29

GoogleCodeExporter commented 8 years ago
Closing all issues on the old issues list by marking them WontFix.

If this is still a valid issue please re-raise it on the new GitHub issues 
list: https://github.com/diydrones/ardupilot/issues

Thanks!

Original comment by rmackay...@gmail.com on 21 Jul 2013 at 2:14