Skip to content

Correct wrong buffer size.#4

Open
hybridego wants to merge 1 commit intoembeddedadventures:masterfrom
hybridego:master
Open

Correct wrong buffer size.#4
hybridego wants to merge 1 commit intoembeddedadventures:masterfrom
hybridego:master

Conversation

@hybridego
Copy link

Buffer size is too short.

in cpp. need 28 byte.

for (count = 0; count < 28; count++) { // first 28 bytes we can process like this
compParams.compArray[count] = Wire.readb();
}

@Kwenchana
Copy link

See #5, it should be 24, the next read is also 1 byte short for the H6 cal data

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.

2 participants