diff options
Diffstat (limited to 'arduino/ace_cpp_old/SafeSerial.h')
-rw-r--r-- | arduino/ace_cpp_old/SafeSerial.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/arduino/ace_cpp_old/SafeSerial.h b/arduino/ace_cpp_old/SafeSerial.h deleted file mode 100644 index 12dba3e..0000000 --- a/arduino/ace_cpp_old/SafeSerial.h +++ /dev/null @@ -1,23 +0,0 @@ -#ifndef SAFESERIAL_H -#define SAFESERIAL_H - -#include <inttypes.h> -#include "Framer.h" - -//#define MAX_PACKET_SIZE 64 -//#define MAX_FRAME_SIZE MAX_PACKET_SIZE + 3 - -#define SERIAL_BUFFER_SIZE 64 - -class SafeSerial: public Framer { -private: - void sendByte(uint8_t byte); - - -protected: - /* virtual */ void onSendByte(uint8_t byte) {}; - /* virtual */ void onFrame(uint16_t length, uint8_t *data) {}; - -}; - -#endif /* SAFESERIAL_H */ |