File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed
targets/TARGET_RASPBERRYPI/TARGET_RP2040 Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,6 @@ extern "C" {
32
32
33
33
#ifdef PICO_RP2040_USB_DEVICE_ENUMERATION_FIX
34
34
#include " rp2040_usb_device_enumeration.h"
35
- #include " hardware/structs/iobank0.h"
36
35
#endif
37
36
38
37
#ifdef __cplusplus
@@ -406,13 +405,7 @@ void USBPhyHw::process()
406
405
407
406
// This is required, but having trouble working out how to link in
408
407
#ifdef PICO_RP2040_USB_DEVICE_ENUMERATION_FIX
409
- const uint dp = 15 ;
410
- auto function = gpio_get_function (dp);
411
- auto override = iobank0_hw->io [dp].ctrl ;
412
408
rp2040_usb_device_enumeration_fix ();
413
- gpio_set_function (dp, function);
414
- gpio_set_inover (dp, GPIO_OVERRIDE_HIGH);
415
- hw_set_bits (&iobank0_hw->io [dp].ctrl , override );
416
409
#endif
417
410
418
411
// reset bus for USBDevice layer
You can’t perform that action at this time.
0 commit comments