Skip to content

Fix delay_ms in readme and const at reg_data for Write method#83

Open
cr0wg4n wants to merge 2 commits intoboschsensortec:masterfrom
cr0wg4n:fix-problems
Open

Fix delay_ms in readme and const at reg_data for Write method#83
cr0wg4n wants to merge 2 commits intoboschsensortec:masterfrom
cr0wg4n:fix-problems

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