diff options
author | Zach Eveland <zeveland@blacklabel-development.com> | 2011-08-30 11:04:34 -0400 |
---|---|---|
committer | Zach Eveland <zeveland@blacklabel-development.com> | 2011-08-30 11:04:34 -0400 |
commit | 481fdeab797d449f6b82473b1e377c495224cff7 (patch) | |
tree | 2cddbbbc0c6be94842a1e0f5e92e709cfdc8e751 /cores/arduino/USBAPI.h | |
parent | 351a78e01e8e61f5d1423f30b17f209151fcf79d (diff) |
CDC and HID write() routines now return non-void - brought in line with new write behavior
Diffstat (limited to 'cores/arduino/USBAPI.h')
-rw-r--r-- | cores/arduino/USBAPI.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cores/arduino/USBAPI.h b/cores/arduino/USBAPI.h index 4d26d23..b833009 100644 --- a/cores/arduino/USBAPI.h +++ b/cores/arduino/USBAPI.h @@ -33,7 +33,7 @@ public: virtual int peek(void); virtual int read(void); virtual void flush(void); - virtual void write(uint8_t); + virtual size_t write(uint8_t); }; extern Serial_ Serial; @@ -93,7 +93,7 @@ public: Keyboard_(); void sendReport(KeyReport* keys); void setKeyMap(KeyMap* keyMap); - virtual void write(uint8_t); + virtual size_t write(uint8_t); }; extern Keyboard_ Keyboard; |