aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/USBAPI.h
diff options
context:
space:
mode:
authorMartino Facchin <m.facchin@arduino.cc>2015-06-26 15:05:57 +0200
committerCristian Maglie <c.maglie@arduino.cc>2015-07-16 13:13:51 +0200
commit3ee0fa126506c623bf45ddcfccce1bf2abd2e41e (patch)
treea041952834b2b07c5b31b1ebba62ab7d701adc45 /cores/arduino/USBAPI.h
parentf367bcca2c2938a4b2853df7c58856ef390a4769 (diff)
Add support for waking up a host via USB HID
this is a rework of commit fbcf94801b8bba7f1c8c79cc7ae402b6b9dbb2d3
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 d8ad98d..251e4b9 100644
--- a/cores/arduino/USBAPI.h
+++ b/cores/arduino/USBAPI.h
@@ -58,6 +58,7 @@ public:
void attach();
void detach(); // Serial port goes down too...
void poll();
+ bool wakeupHost(); // returns false, when wakeup cannot be processed
};
extern USBDevice_ USBDevice;