Skip to content

Fix for erroneous asserts #401

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

Merged
merged 3 commits into from
Jul 15, 2014
Merged

Fix for erroneous asserts #401

merged 3 commits into from
Jul 15, 2014

Conversation

tkuyucu-nordicsemi
Copy link
Contributor

No description provided.

sigvef and others added 3 commits July 15, 2014 15:24
In fb90157, asserts were introduced
changing the error checking style in large portions of the code base
from `if(error_condition) fail();` to `assert(!error_condition);`. In
doing so, not all boolean conditions were negated properly. This commit
restores the original semantics of the error checks as they were before
fb90157, (unless an error check has been changed upstream, in which
case it is ignored).

The practical effects of this commit is that it should restore proper
I2C and SPI functionality on the LPC15XX and nRF51822, respectively.
Fix erroneous boolean expression conversions
0xc0170 added a commit that referenced this pull request Jul 15, 2014
[HAL] Fix for asserts LPC15xx, NRF51822
@0xc0170 0xc0170 merged commit c785460 into ARMmbed:master Jul 15, 2014
yogpan01 pushed a commit to yogpan01/mbed that referenced this pull request Jul 21, 2016
for the ARM toolchain, disable/hide calls to printf()s from callback handlers
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