Skip to content

fix dummydefine for mbed_trace_init #71

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 1 commit into from
Jul 5, 2017
Merged

fix dummydefine for mbed_trace_init #71

merged 1 commit into from
Jul 5, 2017

Conversation

jupe
Copy link
Contributor

@jupe jupe commented Jul 4, 2017

Status

READY

Description

This is fixing issue #70: when MBED_CONF_MBED_TRACE_ENABLE=0 and application uses return value from mbed_trace_init() - mbed_trace didn't define dummy macro right way and causes compling error:

a value of type "void" cannot be assigned to an entity of type "int"

Todo

  • Test (manually tested)

@jupe
Copy link
Contributor Author

jupe commented Jul 5, 2017

This should be enough, I tried with simple application that PR helps.

@jupe jupe merged commit 75982fc into master Jul 5, 2017
@jupe jupe deleted the fix_dummydefines branch July 5, 2017 05:53
@jupe jupe added this to the v1.2.2 milestone Jul 5, 2017
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.

1 participant