From d5e900f8339979bfecbbd8dbd5380815087dd142 Mon Sep 17 00:00:00 2001 From: Kristian Sloth Lauszus Date: Fri, 31 Oct 2014 15:57:39 -0700 Subject: [PATCH] Added isReady function to HIDBoot Fixes #103 --- hidboot.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hidboot.h b/hidboot.h index b35df7cb..c5a46891 100644 --- a/hidboot.h +++ b/hidboot.h @@ -212,6 +212,10 @@ public: return bAddress; }; + virtual bool isReady() { + return bPollEnable; + }; + // UsbConfigXtracter implementation virtual void EndpointXtract(uint8_t conf, uint8_t iface, uint8_t alt, uint8_t proto, const USB_ENDPOINT_DESCRIPTOR *ep);