mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
Added readPollInterval function
This commit is contained in:
parent
8ca3ab8fd1
commit
797208832f
1 changed files with 6 additions and 0 deletions
6
BTD.h
6
BTD.h
|
@ -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. */
|
||||
|
|
Loading…
Reference in a new issue