-
-
Notifications
You must be signed in to change notification settings - Fork 7k
wrong placement of arduino.h #1310
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
Comments
Which version of the Arduino editor are you using? Can you provide the whole failing sketch? |
IDE is 1.03 (latest download) Select UNO as board, this creates the error
Of course works fine if the Attiny85 is selected. |
Please give a try to the IDEs linked at the bottom of this email on the dev list |
New preprocessor tracked at #2636. Builds for testing it are available |
I'm too late for the test? The refered IDE links don't work anymore. |
Not too late: take a look at the bottom of this page #2729 |
My code begins with something like that
Compiling it for any none AVR_ATtiny85 leads to an error due to wrong arduino.h placement into the if-else part.
Adding a dummy declaration at the start (in front of #if) omits the error... but a real fix would be better.
The text was updated successfully, but these errors were encountered: