Skip to content

Commit

Permalink
Review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Shuchita Khare committed Jan 24, 2024
1 parent 432f0d7 commit dec0846
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions modules/drivers/usb/api/rtos_usb.h
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,12 @@ static inline void rtos_usb_endpoint_stall_clear(rtos_usb_t *ctx,
XUD_ClearStallByAddr(endpoint_addr);
}

/**
* Calls the XUD function to enter the specified test mode.
*
* \param ctx A pointer to the USB driver instance to use.
* \param test_mode Desired test mode.
*/
void rtos_usb_enter_test_mode(rtos_usb_t *ctx,
unsigned test_mode);

Expand Down
3 changes: 3 additions & 0 deletions modules/sw_services/usb/portable/tusb_nstackwords.S
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
// Copyright (c) 2024, XMOS Ltd, All rights reserved
// This Software is subject to the terms of the XMOS Public Licence: Version 1.

.global dcd_event_handler.nstackwords
.set dcd_event_handler.nstackwords, 100

0 comments on commit dec0846

Please sign in to comment.