Skip to content

Commit

Permalink
fix for shadowing of print (see particle issue #1372)
Browse files Browse the repository at this point in the history
  • Loading branch information
elcojacobs committed Jan 5, 2018
1 parent 7316028 commit b20ac9a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions platform/spark/firmware/wiring/inc/spark_wiring_usbkeyboard.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,10 @@ class USBKeyboard : public Print

void begin(void);
void end(void);
virtual size_t write(uint8_t ch);
using Print::write;
virtual size_t write(uint8_t ch);
virtual size_t writeKey(uint16_t k, uint16_t modifiers = 0);
virtual size_t click(uint16_t k, uint16_t modifiers = 0);
virtual size_t click(uint16_t k, uint16_t modifiers = 0);
virtual size_t press(uint16_t k, uint16_t modifiers = 0);
virtual size_t release(uint16_t k, uint16_t modifiers = 0);
virtual void releaseAll(void);
Expand Down

0 comments on commit b20ac9a

Please sign in to comment.