Autoformat USBHIDMultimediaKbd example

No code change
This commit is contained in:
Kristian Sloth Lauszus 2016-04-19 11:34:04 +02:00
parent 5faa2435c1
commit 854fb80e08

View file

@ -21,7 +21,7 @@ protected:
// Return true for the interface we want to hook into // Return true for the interface we want to hook into
bool HIDSelector::SelectInterface(uint8_t iface, uint8_t proto) bool HIDSelector::SelectInterface(uint8_t iface, uint8_t proto)
{ {
if(proto != 0) if (proto != 0)
return true; return true;
return false; return false;
@ -40,12 +40,10 @@ void HIDSelector::ParseHIDData(USBHID *hid, uint8_t ep, bool is_rpt_id, uint8_t
#endif #endif
} }
USB Usb; USB Usb;
//USBHub Hub(&Usb); //USBHub Hub(&Usb);
HIDSelector hidSelector(&Usb); HIDSelector hidSelector(&Usb);
void setup() void setup()
{ {
Serial.begin( 115200 ); Serial.begin( 115200 );