aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcores/arduino/WProgram.h5
-rw-r--r--libraries/Firmata/Firmata.h2
2 files changed, 6 insertions, 1 deletions
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 <stdlib.h>
#include <string.h>
#include <math.h>
@@ -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
diff --git a/libraries/Firmata/Firmata.h b/libraries/Firmata/Firmata.h
index c556c4a..a0a6513 100644
--- a/libraries/Firmata/Firmata.h
+++ b/libraries/Firmata/Firmata.h
@@ -67,7 +67,7 @@ extern "C" {
// TODO make it a subclass of HardwareSerial
-class FirmataClass : public Print
+class FirmataClass
{
public:
FirmataClass();