aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/USBAPI.h
diff options
context:
space:
mode:
authorJustin Rajewski <justin@embeddedmicro.com>2014-03-18 14:15:41 -0700
committerCristian Maglie <c.maglie@bug.st>2014-05-24 00:34:56 +0200
commit872c88bb5f643702edcc8d0ebfc1f6cd13bcf414 (patch)
treeb97deeadaf9b67085cc2eca85ebbe090d65e4f73 /cores/arduino/USBAPI.h
parentf3e78a4a2920665b45b964049db3ebed9b8f1dc7 (diff)
improved USB write speeds
Diffstat (limited to 'cores/arduino/USBAPI.h')
-rw-r--r--cores/arduino/USBAPI.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cores/arduino/USBAPI.h b/cores/arduino/USBAPI.h
index 7a14285..1c5ecf0 100644
--- a/cores/arduino/USBAPI.h
+++ b/cores/arduino/USBAPI.h
@@ -40,6 +40,7 @@ public:
virtual int read(void);
virtual void flush(void);
virtual size_t write(uint8_t);
+ virtual size_t write(const uint8_t*, size_t);
using Print::write; // pull in write(str) and write(buf, size) from Print
operator bool();
};