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:
@ -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++) {
|
||||
|
Reference in New Issue
Block a user