-
Notifications
You must be signed in to change notification settings - Fork 747
components: fxo: update to new _static #3237
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.
Love getting rid of the remaining imix-specific components
391932c
to
4826dca
Compare
move buffer to component remove imix component update hail to use component
4826dca
to
c6bdca8
Compare
let fxo = kernel::static_buf!(capsules::fxos8700cq::Fxos8700cq<'static>); | ||
|
||
(i2c_device, buffer, fxo) | ||
};}; |
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.
};}; | |
}}; |
Does this not generate a warning here? Similar to in #3245
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.
I'm confused what is causing the warning, or not causing the warning in the case of capsules. I've seen other PRs that add the semicolon to fix something, so I'm not really sure what the right thing to do is.
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.
I thought it might be for when the macro returns something, like in this case and in #3245 . But if there's no warnings I'm not sure either...🤔
bors r+ |
Pull Request Overview
This pull request updates the fxo accelerometer component to use new static format.
Also:
Testing Strategy
travis
TODO or Help Wanted
n/a
Documentation Updated
/docs
, or no updates are required.Formatting
make prepush
.