Skip to content

Commit 35d3a51

Browse files
committed
Add comment about tud_vendor_control_xfer_cb
1 parent f1dc971 commit 35d3a51

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

dirtyJtag.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,8 @@ void fetch_command()
131131
#endif
132132
}
133133

134+
//this is to work around the fact that tinyUSB does not handle setup request automatically
135+
//Hence this boiler plate code
134136
bool tud_vendor_control_xfer_cb(uint8_t rhport, uint8_t stage, tusb_control_request_t const * request)
135137
{
136138
if (stage != CONTROL_STAGE_SETUP) return true;

0 commit comments

Comments
 (0)