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

Remove extraneous USBCON defines for AT90USB boards #7347

Merged

Conversation

fiveangle
Copy link
Contributor

@fiveangle fiveangle commented Jul 23, 2017

USBCON is definied for supported boards within Arduino.h based on board selection in IDE and Configuration.h. Defining in other includes has shown to cause compile issues when standard includes are not correct for a source file; removing all extraneous USBCON defines to potentially make it easier for future linker troubleshooting.

USBCON is definied by serial.h pullikng in MarlinConfig.h which in turn pulls in Arduino.h.  Defining in later includes has shown to cause compile issues so removing all extraneous calls for and potentially easier future linker troubleshooting.
more USBCON unification
@thinkyhead thinkyhead merged commit a972c06 into MarlinFirmware:bugfix-1.1.x Jul 27, 2017
@fiveangle fiveangle deleted the at90usb_usbcon_unification branch July 27, 2017 02:59
@thinkyhead
Copy link
Member

Did you find that the compilation size was identical with the USBCON defines removed?

@fiveangle
Copy link
Contributor Author

yup

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants