Skip to content

Conversation

zfields
Copy link
Contributor

@zfields zfields commented Sep 29, 2023

This modification was made to improve the experience with the Notecard ESP, and has been tested quite extensively.

@zfields
Copy link
Contributor Author

zfields commented Sep 29, 2023

@zfields
Copy link
Contributor Author

zfields commented Sep 29, 2023

The loss of coverage is from an uncovered branch for exiting a loop, not an uncovered line.

As this is the case, I intend to override the coverage check.

result = ERRSTR("serial-over-i2c: unexpected raw byte count {io}",i2cerr);
} else {
// Ensure available byte count is within expected range
static const size_t AVAILBLE_MAX = (NoteI2c::REQUEST_MAX_SIZE - NoteI2c::REQUEST_HEADER_SIZE);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AVAILBLE -> AVAILABLE

@zfields zfields merged commit 18b485a into master Sep 29, 2023
@zfields zfields deleted the zak-i2c-rcv-retry branch September 29, 2023 17:58
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