summaryrefslogtreecommitdiffstats
path: root/protocol/usb_hid/USBAPI.h
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2012-08-25 15:49:08 +0900
committertmk <nobody@nowhere>2012-08-28 21:56:15 +0900
commitc5060ea81942b0e3f8577536ff78402a19abe3d3 (patch)
treebcdd4cd269be3064982014b0afdc0aea628d7048 /protocol/usb_hid/USBAPI.h
parent9382bf2f765cfbb8f7a9a48157391cac2bb71780 (diff)
test build of 'Host shield' in minimal env.
Diffstat (limited to 'protocol/usb_hid/USBAPI.h')
-rw-r--r--protocol/usb_hid/USBAPI.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/protocol/usb_hid/USBAPI.h b/protocol/usb_hid/USBAPI.h
deleted file mode 100644
index e3390d49a8..0000000000
--- a/protocol/usb_hid/USBAPI.h
+++ /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;