diff options
| author | tmk <nobody@nowhere> | 2012-08-25 15:49:08 +0900 |
|---|---|---|
| committer | tmk <nobody@nowhere> | 2012-08-28 21:56:15 +0900 |
| commit | c5060ea81942b0e3f8577536ff78402a19abe3d3 (patch) | |
| tree | bcdd4cd269be3064982014b0afdc0aea628d7048 /protocol/usb_hid/USBAPI.h | |
| parent | 9382bf2f765cfbb8f7a9a48157391cac2bb71780 (diff) | |
| download | qmk_firmware-c5060ea81942b0e3f8577536ff78402a19abe3d3.tar.gz qmk_firmware-c5060ea81942b0e3f8577536ff78402a19abe3d3.zip | |
test build of 'Host shield' in minimal env.
Diffstat (limited to 'protocol/usb_hid/USBAPI.h')
| -rw-r--r-- | protocol/usb_hid/USBAPI.h | 22 |
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 e3390d49a..000000000 --- a/protocol/usb_hid/USBAPI.h +++ /dev/null | |||
| @@ -1,22 +0,0 @@ | |||
| 1 | /* | ||
| 2 | * Override original arduino USBAPI.h. | ||
| 3 | */ | ||
| 4 | #include <stdint.h> | ||
| 5 | #include "Stream.h" | ||
| 6 | |||
| 7 | |||
| 8 | class NullSerial : public Stream | ||
| 9 | { | ||
| 10 | public: | ||
| 11 | void begin(uint16_t baud_count); | ||
| 12 | void end(void); | ||
| 13 | |||
| 14 | virtual int available(void); | ||
| 15 | virtual void accept(void); | ||
| 16 | virtual int peek(void); | ||
| 17 | virtual int read(void); | ||
| 18 | virtual void flush(void); | ||
| 19 | virtual size_t write(uint8_t); | ||
| 20 | operator bool(); | ||
| 21 | }; | ||
| 22 | extern NullSerial Serial; | ||
