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

Compilation warnings #3

Open
ginkage opened this issue Sep 24, 2021 · 1 comment
Open

Compilation warnings #3

ginkage opened this issue Sep 24, 2021 · 1 comment

Comments

@ginkage
Copy link

ginkage commented Sep 24, 2021

src/T67XX.cpp: In member function 'uint8_t T67XX::setSlaveAddress(uint8_t)':
src/T67XX.cpp:147:1: warning: no return statement in function returning non-void [-Wreturn-type]
 };
 ^
src/T67XX.cpp: In member function 'bool T67XX::beginCalibration()':
src/T67XX.cpp:157:63: warning: no return statement in function returning non-void [-Wreturn-type]
 bool T67XX::beginCalibration(void) { beginCalibration(false); };
                                                               ^
src/T67XX.cpp: In member function 'bool T67XX::beginCalibration(bool)':
src/T67XX.cpp:172:1: warning: no return statement in function returning non-void [-Wreturn-type]
 };
 ^
src/T67XX.cpp: In member function 'bool T67XX::endCalibration()':
src/T67XX.cpp:180:1: warning: no return statement in function returning non-void [-Wreturn-type]
 };
 ^
@curious-man
Copy link

curious-man commented May 19, 2023

I have got compilation error for this reason for ESP8266

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

No branches or pull requests

2 participants