From e94fa49d9bfee00e61a3b496b5e9cbb22dec309f Mon Sep 17 00:00:00 2001 From: "David A. Mellis" Date: Mon, 15 Sep 2008 21:09:13 +0000 Subject: Adding #ifdef guard to WProgram.h to prevent multiple #includes. Removing Print class inheritance from Firmata since it's not clear that it can be implemented in a way that's compatible with the Firmata protocol and the Print class interface. --- cores/arduino/WProgram.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'cores/arduino') diff --git a/cores/arduino/WProgram.h b/cores/arduino/WProgram.h index 5f78de2..20650df 100755 --- a/cores/arduino/WProgram.h +++ b/cores/arduino/WProgram.h @@ -1,3 +1,6 @@ +#ifndef WProgram_h +#define WProgram_h + #include #include #include @@ -17,3 +20,5 @@ long random(long, long); void randomSeed(unsigned int); long map(long, long, long, long, long); #endif + +#endif \ No newline at end of file -- cgit v1.2.3-18-g5258