-
Notifications
You must be signed in to change notification settings - Fork 747
Component: Update bmX280 components #3232
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Re: components using other components, I think we want to avoid that, unless the call to the helper!()
/static!()
macro for the other component is contained within the macro for the outer component. Otherwise, the component is still not reusable
4d80a78
to
befe850
Compare
b776a9c
to
2bcfbdd
Compare
2bcfbdd
to
a1e7f0d
Compare
0e60237
a1e7f0d
to
0e60237
Compare
bors r+ looks good; and just waiting on mac build which should finish by the time bors gets to it |
Pull Request Overview
Update these components to use _static macro, static_buf, and use new() for all configuration.
Testing Strategy
travis
TODO or Help Wanted
Any thoughts on components using other components? bmp280 was using the I2C component, but it's hard to update all components at once, so I just replicated the i2c init because it is pretty simple.
Documentation Updated
/docs
, or no updates are required.Formatting
make prepush
.