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" {
3232
3333#ifdef PICO_RP2040_USB_DEVICE_ENUMERATION_FIX
3434#include " rp2040_usb_device_enumeration.h"
35- #include " hardware/structs/iobank0.h"
3635#endif
3736
3837#ifdef __cplusplus
@@ -406,13 +405,7 @@ void USBPhyHw::process()
406405
407406 // This is required, but having trouble working out how to link in
408407#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 ;
412408 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 );
416409#endif
417410
418411 // reset bus for USBDevice layer
You can’t perform that action at this time.
0 commit comments