summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/portable/raspberrypi/pio_usb/hcd_pio_usb.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/portable/raspberrypi/pio_usb/hcd_pio_usb.c b/src/portable/raspberrypi/pio_usb/hcd_pio_usb.c
index dc52870e9..c2ac2c706 100644
--- a/src/portable/raspberrypi/pio_usb/hcd_pio_usb.c
+++ b/src/portable/raspberrypi/pio_usb/hcd_pio_usb.c
@@ -50,9 +50,8 @@ static pio_usb_configuration_t pio_host_config = PIO_USB_DEFAULT_CONFIG;
//--------------------------------------------------------------------+
bool hcd_init(uint8_t rhport)
{
- // To run USB SOF interrupt in core1, create alarm pool in core1.
- pio_host_config.alarm_pool = (void*)alarm_pool_create(2, 1);
- (void) pio_usb_host_init(&pio_host_config);
+ // To run USB SOF interrupt in core1, call this init in core1
+ pio_usb_host_controller_init(&pio_host_config);
return true;
}