mirror of
https://github.com/hathach/tinyusb.git
synced 2025-03-14 04:18:56 +00:00
Remove dead code.
This commit is contained in:
parent
e250b82377
commit
ad734e658c
@ -1207,10 +1207,6 @@ bool dcd_check_test_mode_support(test_mode_t test_selector) {
|
||||
}
|
||||
|
||||
void dcd_enter_test_mode(uint8_t rhport, test_mode_t test_selector) {
|
||||
// Disable test mode if not supported as a fall back
|
||||
if (!dcd_check_test_mode_support(test_selector)) {
|
||||
test_selector = 0;
|
||||
}
|
||||
// Get port address...
|
||||
dwc2_regs_t* dwc2 = DWC2_REG(rhport);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user