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 warnings #202

Open
brano2 opened this issue Jul 15, 2018 · 0 comments
Open

Fix warnings #202

brano2 opened this issue Jul 15, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@brano2
Copy link
Member

brano2 commented Jul 15, 2018

Someone please fix these compiler warnings:

src/utils/io/i2c.cpp: In member function ‘void hyped::utils::io::I2C::read(uint32_t, uint8_t*, uint16_t)’:
src/utils/io/i2c.cpp:94:7: warning: unused variable ‘ret’ [-Wunused-variable]
   int ret = i2c::readHelper(fd_, rx, len);
       ^

src/utils/io/i2c.cpp: In member function ‘void hyped::utils::io::I2C::write(uint32_t, uint8_t*, uint16_t)’:
src/utils/io/i2c.cpp:106:7: warning: unused variable ‘ret’ [-Wunused-variable]
   int ret = i2c::writeHelper(fd_, tx, len);
       ^
@brano2 brano2 added the enhancement New feature or request label Jul 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant