Skip to content

nrfx_glue: Replace IS_ENABLED() with defined(), to not depend on util.h #7

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

Merged
merged 1 commit into from
Sep 24, 2019

Conversation

anangl
Copy link
Member

@anangl anangl commented Sep 24, 2019

This is a follow-up to commit f5b5469.
It removes the dependency on <sys/util.h> (that brings the definition
of the IS_ENABLED macro) that was previously included via <kernel.h>,
because in some scenarios this file (nrfx_glue.h) may be processed
before <kernel.h> and hence <sys/util.h> is actually included.

Signed-off-by: Andrzej Głąbek [email protected]

This is a follow-up to commit f5b5469.
It removes the dependency on <sys/util.h> (that brings the definition
of the IS_ENABLED macro) that was previously included via <kernel.h>,
because in some scenarios this file (nrfx_glue.h) may be processed
before <kernel.h> and hence <sys/util.h> is actually included.

Signed-off-by: Andrzej Głąbek <[email protected]>
@anangl anangl added the bug Something isn't working label Sep 24, 2019
@anangl anangl requested a review from ioannisg September 24, 2019 10:02
@ioannisg
Copy link
Member

@anangl pls, notify when the zephyr PR with this HEAD has completed the CI

@anangl
Copy link
Member Author

anangl commented Sep 24, 2019

@anangl pls, notify when the zephyr PR with this HEAD has completed the CI

@ioannisg It completed, in green.

@ioannisg ioannisg merged commit db6277a into zephyrproject-rtos:master Sep 24, 2019
@anangl anangl deleted the fix_nrfx_glue branch September 24, 2019 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants