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

MPU6000: unadvertises the accel and gyro uORB topics in destructor #9125

Merged
merged 1 commit into from
Mar 21, 2018

Conversation

ksschwabe
Copy link
Contributor

@ksschwabe ksschwabe commented Mar 21, 2018

The uORB topics were not being destroyed correctly in the destructor. This meant that if the driver was stopped and then restarted, the messages would not be published on the uORB correctly.

This commit now unadvertises the uORB topics in the destructor, similarly to what is done in the MPU9250 driver.

@dagar dagar merged commit d952fe0 into PX4:master Mar 21, 2018
@ksschwabe ksschwabe deleted the bugfix_mpu6000_uorb_unadvertise branch March 21, 2018 17:10
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.

2 participants