Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change variable initialization to uniform initialization style and format whitespace in the pga460 driver. #11861

Merged
merged 1 commit into from Jun 29, 2019

Conversation

mcsauder
Copy link
Contributor

@mcsauder mcsauder commented Apr 16, 2019

Describe problem solved by the proposed pull request
This PR only migrates the pga460 driver to uniform initialization style and formats whitespace.

Describe your preferred solution
Standardizing all of the distance sensor driver variable initialization, method ordering and general style will allow for future inheritance structure work to be performed on the distance sensor driver classes.

This PR is additional work to promote #9279 in conjunction with #11853, #11857, #11858 and remaining distance sensor driver work.

Describe possible alternatives
All of the distance sensor driver work could be accomplished in one massive PR, but breaking up work in each driver should minimize risk and reduce review effort.

Additional context
See #9279, #11853, #11857, #1858, #11859.

Please let me know if you have any questions on this PR. Thanks!

-Mark

@dakejahl This driver is fantastic! I would love to see all the other serial device driver methods modeled after your methods here. Nice work!

@mcsauder mcsauder force-pushed the pga460_driver_work branch 3 times, most recently from f3d04dd to 6052bb0 Compare April 23, 2019 15:59
@mcsauder mcsauder force-pushed the pga460_driver_work branch 2 times, most recently from 600bb80 to 62f04b7 Compare April 30, 2019 16:56
@mcsauder mcsauder force-pushed the pga460_driver_work branch 2 times, most recently from 441be8b to 1bd2d2c Compare May 10, 2019 04:00
@mcsauder mcsauder force-pushed the pga460_driver_work branch 4 times, most recently from 6f3aac4 to c2f57ea Compare May 24, 2019 21:51
…rmat whitespace in the pga460 driver and change baud rate unsigned to speed_t type.
@dagar dagar merged commit 423219c into PX4:master Jun 29, 2019
@mcsauder mcsauder deleted the pga460_driver_work branch June 29, 2019 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants