]> git.donarmstrong.com Git - tmk_firmware.git/blobdiff - protocol/usb_hid/USBAPI.h
test build of 'Host shield' in minimal env.
[tmk_firmware.git] / protocol / usb_hid / USBAPI.h
diff --git a/protocol/usb_hid/USBAPI.h b/protocol/usb_hid/USBAPI.h
deleted file mode 100644 (file)
index e3390d4..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
- * Override original arduino USBAPI.h.
- */
-#include <stdint.h>
-#include "Stream.h"
-
-
-class NullSerial : public Stream
-{
-public:
-       void begin(uint16_t baud_count);
-       void end(void);
-
-       virtual int available(void);
-       virtual void accept(void);
-       virtual int peek(void);
-       virtual int read(void);
-       virtual void flush(void);
-       virtual size_t write(uint8_t);
-       operator bool();
-};
-extern NullSerial Serial;