1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-22 08:22:04 +03:00

Renamed WProgram.h to Arduino.h.

This commit is contained in:
David A. Mellis
2011-03-01 19:52:13 -05:00
parent 97abbd7a31
commit d05e4021d0
27 changed files with 24 additions and 30 deletions

View File

@ -46,7 +46,7 @@ public class PdePreprocessor {
public int prototypeCount = 0;
// stores number of included library headers written
// we always write one header: WProgram.h
// we always write one header: Arduino.h
public int headerCount = 1;
// the prototypes that are generated by the preprocessor
@ -199,7 +199,7 @@ public class PdePreprocessor {
int prototypeInsertionPoint = firstStatement(program);
out.print(program.substring(0, prototypeInsertionPoint));
out.print("#include \"WProgram.h\"\n");
out.print("#include \"Arduino.h\"\n");
// print user defined prototypes
for (int i = 0; i < prototypes.size(); i++) {