mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
Autoformat USBHIDMultimediaKbd example
No code change
This commit is contained in:
parent
5faa2435c1
commit
854fb80e08
1 changed files with 11 additions and 13 deletions
|
@ -21,7 +21,7 @@ protected:
|
|||
// Return true for the interface we want to hook into
|
||||
bool HIDSelector::SelectInterface(uint8_t iface, uint8_t proto)
|
||||
{
|
||||
if(proto != 0)
|
||||
if (proto != 0)
|
||||
return true;
|
||||
|
||||
return false;
|
||||
|
@ -40,12 +40,10 @@ void HIDSelector::ParseHIDData(USBHID *hid, uint8_t ep, bool is_rpt_id, uint8_t
|
|||
#endif
|
||||
}
|
||||
|
||||
|
||||
USB Usb;
|
||||
//USBHub Hub(&Usb);
|
||||
HIDSelector hidSelector(&Usb);
|
||||
|
||||
|
||||
void setup()
|
||||
{
|
||||
Serial.begin( 115200 );
|
||||
|
|
Loading…
Reference in a new issue