srf02 driver: Move member variable initialization to declarations, standardize against other drivers and format. (#11891)

* Migrate variable initialization from constructor list to declarations, standardize whitespace formatting, and alphabetize/organize order of methods and variables in srf02.cpp.

* Increase stack allocation size for the srf02 driver main.
This commit is contained in:
Mark Sauder 2019-07-10 21:05:02 -06:00 committed by Daniel Agar
parent d4cd1d0d2e
commit 4e5974f1ca
2 changed files with 431 additions and 505 deletions

View File

@ -33,6 +33,7 @@
px4_add_module( px4_add_module(
MODULE drivers__srf02 MODULE drivers__srf02
MAIN srf02 MAIN srf02
STACK_MAIN 1500
COMPILE_FLAGS COMPILE_FLAGS
-Wno-cast-align # TODO: fix and enable -Wno-cast-align # TODO: fix and enable
SRCS SRCS

File diff suppressed because it is too large Load Diff