Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cores/rp2040/USB.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ uint8_t USBClass::findInterfaceID(unsigned int localid) {

// Called by a HID device to register a report. Returns the *local* ID which must be mapped to the HID report ID
uint8_t USBClass::registerHIDDevice(const uint8_t *descriptor, size_t len, int ordering, uint32_t pidMask) {
return addEntry(&_hids, 0, nullptr, (const void *)descriptor, len, ordering, pidMask);
return addEntry(&_hids, 1, nullptr, (const void *)descriptor, len, ordering, pidMask);
}

void USBClass::unregisterHIDDevice(unsigned int localid) {
Expand Down