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

Resolve warnings in initialiser #3

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

nrbrook
Copy link

@nrbrook nrbrook commented Feb 19, 2025

Resolved some C warnings when compiling if number of inputs or outputs is 0.

Also changed ZEPHYR_EXTRA_MODULES > EXTRA_ZEPHYR_MODULES

Previously, warnings were generated:

```
warning: missing braces around initializer [-Wmissing-braces]
```

This resolves it by only using LISTIFY when there are inputs/outputs.

Additionally, `bmElementCaps` was being initialised with an integer when it is an array.

Signed-off-by: Nick Brook <[email protected]>
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.

1 participant