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

Fix compiler warning #3

Open
wants to merge 1 commit into
base: mbp15
Choose a base branch
from
Open

Fix compiler warning #3

wants to merge 1 commit into from

Conversation

AdityaGarg8
Copy link
Member

In 5.14 and above, the iio_dev->id has been removed, which probably represented an int argument %d.

The error was :- warning: format ‘%d’ expects a matching ‘int’ argument [-Wformat=]

In 5.14 and above, the iio_dev->id has been removed, which probably represented an int argument %d.

The error was :- `warning: format ‘%d’ expects a matching ‘int’ argument [-Wformat=]`
@AdityaGarg8
Copy link
Member Author

Tested this on 5.14.11. The ALS is still working well and the compiler does not show any warning now.

@AdityaGarg8 AdityaGarg8 deleted the mbp16 branch October 13, 2021 07:05
@AdityaGarg8 AdityaGarg8 restored the mbp16 branch October 13, 2021 07:05
@AdityaGarg8 AdityaGarg8 reopened this Oct 13, 2021
@solarkennedy
Copy link

Yes please!

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