From e69021550eb4f88c0027d5ec64a39a2512eadc37 Mon Sep 17 00:00:00 2001 From: NicoHood Date: Sun, 11 Oct 2015 14:39:36 +0200 Subject: [PATCH] [PHID] Added missing GET_IDLE Request --- hardware/arduino/avr/libraries/HID/HID.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hardware/arduino/avr/libraries/HID/HID.cpp b/hardware/arduino/avr/libraries/HID/HID.cpp index 8da7d2c96..cce3834da 100644 --- a/hardware/arduino/avr/libraries/HID/HID.cpp +++ b/hardware/arduino/avr/libraries/HID/HID.cpp @@ -96,6 +96,9 @@ bool HID_::setup(USBSetup& setup) // TODO: Send8(protocol); return true; } + if (request == HID_GET_IDLE) { + // TODO: Send8(idle); + } } if (requestType == REQUEST_HOSTTODEVICE_CLASS_INTERFACE)