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

fix(Examples): Fix return value logic for verifyData function in I2C examples #651

Merged
merged 1 commit into from
Jul 5, 2023

Conversation

Jacob-Scheiffler
Copy link
Contributor

@Jacob-Scheiffler Jacob-Scheiffler commented Jul 5, 2023

Many of the I2C examples had the logic flipped for checking the return value of the verifyData function. verifyData returns E_NO_ERROR if the transaction was successful, but that would cause the program flow to print out a transaction failed message.

@sihyung-maxim sihyung-maxim merged commit f3d2cac into main Jul 5, 2023
@Jacob-Scheiffler Jacob-Scheiffler deleted the fix/i2c_ex_verify_data_bug branch July 5, 2023 15:55
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.

3 participants