Skip to content

Commit

Permalink
fix ITF count
Browse files Browse the repository at this point in the history
  • Loading branch information
hathach committed Jul 9, 2018
1 parent 15cd306 commit 5d8cf5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/device/usbd_desc.c
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
#define ITF_NUM_HID_MOUSE (ITF_NUM_HID_KEYBOARD + CFG_TUD_HID_KEYBOARD )
#define ITF_NUM_HID_GENERIC (ITF_NUM_HID_MOUSE + CFG_TUD_HID_MOUSE )

#define ITF_TOTAL (CFG_TUD_HID_GENERIC + CFG_TUD_HID_GENERIC)
#define ITF_TOTAL (ITF_NUM_HID_GENERIC + CFG_TUD_HID_GENERIC)


/*------------- Endpoint Numbering & Size -------------*/
Expand Down

0 comments on commit 5d8cf5c

Please sign in to comment.