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 delay_ms in readme and const at reg_data for Write method #83

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

Conversation

cr0wg4n
Copy link

@cr0wg4n cr0wg4n commented Nov 12, 2020

I was trying this driver in my esp8266 microcontroller and I've detect these errors, the readme documentation shows delay_ms is in the bme280_dev struct but is not, instead of delay_ms is delay_us.

At the compilation time this error arrives me:
error: invalid conversion from 'int8_t (*)(uint8_t, uint8_t*, uint32_t, void*)
I've review the code and I've detect the const type of variable is in the reg_data pointer at bme280_write_fptr_t typedef for write method.

I hope this PR help us, thank you so much.

@cr0wg4n cr0wg4n changed the title Fix problems Fix delay_ms in readme and const at reg_data for Write method Nov 12, 2020
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