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

Don't re-arrange the *.ino/pde files when converting to *.cpp #100

Closed
ivankravets opened this Issue Mar 1, 2015 · 0 comments

Comments

Projects
None yet
1 participant
@ivankravets
Member

ivankravets commented Mar 1, 2015

See the latest comments by @xxxajk in felis/USB_Host_Shield_2.0#99

You need to parse the includes better.
The top of the source reads:

#include <usbhub.h>
// Satisfy IDE, which only needs to see the include statment in the ino.
#ifdef dobogusinclude
#include <spi4teensy3.h>
#endif

and your generated cpp file incorrectly did this:

#include <Arduino.h>
#include <usbhub.h>
#include <spi4teensy3.h>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment