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
|
@ -381,6 +381,12 @@ public:
|
||||||
/** True if it's a Wii U Pro Controller. */
|
/** True if it's a Wii U Pro Controller. */
|
||||||
bool wiiUProController;
|
bool wiiUProController;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Read the poll interval taken from the endpoint descriptors.
|
||||||
|
* @return The poll interval in ms.
|
||||||
|
*/
|
||||||
|
uint8_t readPollInterval() { return pollInterval; };
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
/** Pointer to USB class instance. */
|
/** Pointer to USB class instance. */
|
||||||
USB *pUsb;
|
USB *pUsb;
|
||||||
|
|
Loading…
Reference in a new issue