Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix: Allow HardwareI2C::requestFrom to return values > 256#132

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
aentinger merged 1 commit intomasterfromi2c-requestFrom-size_t
Dec 10, 2020

Conversation

aentinger
Copy link
Contributor

@aentingeraentinger commentedDec 10, 2020
edited
Loading

Changing return type ofrequestFrom fromuint8_t tosize_t allows the function to return the correct amount of bytes read (since internally it's already asize_t which is downcast to auint8_t upon returning it).

Merging this PR also requires to merge

@facchinm Let's coordinate to get this done.

…he function to return the correct amount of bytes read (since internally it's already a size_t which is downcast to a uint8_t upon returning it.
@aentingeraentinger self-assigned thisDec 10, 2020
@codecov-io
Copy link

Codecov Report

Merging#132 (a553558) intomaster (4bd75df) willnot change coverage.
The diff coverage isn/a.

Impacted file tree graph

@@           Coverage Diff           @@##           master     #132   +/-   ##=======================================  Coverage   96.40%   96.40%           =======================================  Files          14       14             Lines         835      835           =======================================  Hits          805      805             Misses         30       30

Continue to review full report at Codecov.

Legend -Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing data
Powered byCodecov. Last update4bd75df...a553558. Read thecomment docs.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees

@aentingeraentinger

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@aentinger@codecov-io

[8]ページ先頭

©2009-2025 Movatter.jp