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

Typo in iis3dwb_fifo_status_get #11

Closed
escherstair opened this issue Feb 7, 2023 · 1 comment
Closed

Typo in iis3dwb_fifo_status_get #11

escherstair opened this issue Feb 7, 2023 · 1 comment

Comments

@escherstair
Copy link
Contributor

I think that the documentation of iis3dwb_fifo_status_get has a little typo.
After commit f19da2b it reads both FIFO_STATUS1 and FIFO_STATUS2 registers

ret = iis3dwb_read_reg(ctx, IIS3DWB_FIFO_STATUS1, (uint8_t *)&buff[0], 2);

and combines their content into the struct iis3dwb_fifo_status_t.

I suggest to change

* @param val Registers FIFO_STATUS2

into
* @param val Registers FIFO_STATUS1 and FIFO_STATUS2

escherstair added a commit to escherstair/iis3dwb-pid that referenced this issue Feb 7, 2023
escherstair added a commit to escherstair/iis3dwb-pid that referenced this issue Feb 9, 2023
escherstair added a commit to escherstair/iis3dwb-pid that referenced this issue Feb 9, 2023
escherstair added a commit to escherstair/iis3dwb-pid that referenced this issue Feb 9, 2023
escherstair added a commit to escherstair/iis3dwb-pid that referenced this issue Feb 9, 2023
avisconti pushed a commit that referenced this issue Feb 10, 2023
@escherstair
Copy link
Contributor Author

Fixed with commit 6c2665b

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

1 participant