Added readPollInterval function

This commit is contained in:
Kristian Sloth Lauszus 2013-02-17 01:24:10 +01:00
parent 8ca3ab8fd1
commit 797208832f

6
BTD.h
View file

@ -380,6 +380,12 @@ public:
bool motionPlusInside;
/** True if it's a Wii U Pro Controller. */
bool wiiUProController;
/**
* Read the poll interval taken from the endpoint descriptors.
* @return The poll interval in ms.
*/
uint8_t readPollInterval() { return pollInterval; };
protected:
/** Pointer to USB class instance. */