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

Opt3001 - fix compiler warnings #274

Merged
merged 1 commit into from Jul 21, 2021
Merged

Conversation

DarkShortie
Copy link
Contributor

This fixes those compiler warnings:

.pio/libdeps/dev/AskSinPP@src-7450ae7f58a620090c0bc55efd5e218c/sensors/Opt3001.h:139:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
if (error) DPRINT(F("config error opt3001: ")); DPRINTLN(error);

.pio/libdeps/dev/AskSinPP@src-7450ae7f58a620090c0bc55efd5e218c/sensors/Opt3001.h:87:17: warning: invalid conversion from 'int' to 'as::OPT3001_ERROR' [-fpermissive]
return (-10 * Wire.endTransmission());
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~

@pa-pa pa-pa merged commit 91fadb2 into pa-pa:master Jul 21, 2021
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.

None yet

2 participants