Skip to content

Rebase namespace_api on master #1

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

Open
wants to merge 40 commits into
base: master
Choose a base branch
from

Conversation

facchinm
Copy link
Owner

@facchinm facchinm commented Apr 9, 2020

No description provided.

facchinm and others added 5 commits April 9, 2020 11:45
"Arduino.h" and "USBCore.cpp" modified to be used with ArduinoCore-API.
In "Arduino.h", since "api/ArduinoAPI.h" and "api/Common.h" are included, some defines and
some function definitions can be removed.
"USBCore.cpp" does not include anymore the original "USBAPI.h", hence the function isSuspended()
is not proper of USBDevice_ .
File "Stream.cpp" and "WString.cpp" removed.
The adopted api ArduinoCore-API already supports "Stream.cpp" and "String.cpp".
Copy link
Owner Author

@facchinm facchinm left a comment

Choose a reason for hiding this comment

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

Almost perfect; to clean it even more, I would squash the commit into the first one of the series, so the comment deletion on Arduino.h would transform into a clean deletion and WString/Stream implementations would be wiped all in one with their definitions

@@ -862,11 +862,6 @@ bool USBDevice_::wakeupHost()
return false;
}

bool USBDevice_::isSuspended()
Copy link
Owner Author

Choose a reason for hiding this comment

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

This function should be restored

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.

2 participants