diff options
-rw-r--r-- | libraries/Firmata/Firmata.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libraries/Firmata/Firmata.cpp b/libraries/Firmata/Firmata.cpp index de58a41..feb3def 100644 --- a/libraries/Firmata/Firmata.cpp +++ b/libraries/Firmata/Firmata.cpp @@ -27,10 +27,14 @@ extern "C" { #include <inttypes.h> #include <stdlib.h> + // use the abs in WConstants.h, not the one in stdlib.h + #undef abs + // Wiring Core Includes #include "WConstants.h" } + #include "Firmata.h" #include "EEPROM.h" #include "HardwareSerial.h" @@ -66,6 +70,7 @@ void FirmataClass::systemReset(void) // output type of message that is next on the queue int FirmataClass::available(void) { + return -1; // TODO output next available message type, or -1 if nothing } |