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

perf(PeriphDrivers): Remove Redundant if Statement in I2C Rev A #781

Merged
merged 2 commits into from
Nov 6, 2023

Conversation

Jake-Carter
Copy link
Contributor

@Jake-Carter Jake-Carter commented Oct 25, 2023

Description

Close #753

Checklist Before Requesting Review

  • PR Title follows correct guidelines.
  • Description of changes and all other relevant information.
  • (Optional) Link any related GitHub issues using a keyword
  • (Optional) Provide info on any relevant functional testing/validation. For API changes or significant features, this is not optional.

@@ -1440,11 +1440,7 @@ void MXC_I2C_RevA_MasterAsyncHandler(int i2cNum)
}

/* Call the callback */
if (i2c->intfl0 & MXC_I2C_REVA_ERROR) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Why would we want to always pass E_COMM_ERR? I'm confused

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Whoops, cut the wrong line. e492743

@sihyung-maxim
Copy link
Contributor

Merge from main, should fix the Verify Register/SVD workflow.

@Jake-Carter Jake-Carter merged commit b7c332e into analogdevicesinc:main Nov 6, 2023
8 of 9 checks passed
@Jake-Carter Jake-Carter deleted the fix/gh-753 branch November 6, 2023 18:43
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.

Redundant "if" statement in Master Async handler of I2C driver
3 participants