FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fixed included headers by fpistm · Pull Request #121 · stm32duino/Arduino_Core_STM32 · GitHub

Fixed included headers - #121

Merged
fpistm merged 1 commit into
stm32duino:masterfrom
fpistm:Cleaned_include
Oct 6, 2017
Merged

Fixed included headers#121
fpistm merged 1 commit into
stm32duino:masterfrom
fpistm:Cleaned_include

Conversation

fpistm commented Oct 4, 2017

Copy link
Copy Markdown
Member

This PR aims at cleaning header file include.
Before some issue/warning was raised depending of which header was included or the order.
Ex: define in the variant.h was defined or not depending of include use.

With this PR, it is now ok.

fpistm added the bug 🐛 Something isn't working label Oct 4, 2017
fpistm added this to the Next release milestone Oct 4, 2017
fpistm self-assigned this Oct 4, 2017
fpistm requested review from a user and VVESTM October 4, 2017 07:44
Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>

ghost left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Is there a risk with the libraries currently available? Should we test them?

fpistm commented Oct 5, 2017
edited
Loading

Copy link
Copy Markdown
Member Author

I've tested some of them without any issue.
I've checked include of the library while they include Arduino.h it is ok.
Still the variant.h which includes the Arduino.h but this is not ok.
variant.h have to be include alone if we needs only specific config.
It will be corrected thanks:
e6f05a4

ghost commented Oct 6, 2017

Copy link
Copy Markdown

I will remove the variant.h if included in the current libraries on development and only use Arduino.h.
This PR is OK for me.

fpistm merged commit dd3e773 into stm32duino:master Oct 6, 2017
fpistm deleted the Cleaned_include branch October 6, 2017 07:28
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug 🐛 Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL